TUCoPS :: Web :: Apps :: b06-2041.htm

FlexCustomer <= 0.0.4 sql injection
FlexCustomer <= 0.0.4 sql injection
FlexCustomer <= 0.0.4 sql injection



FlexCustomer <= 0.0.4 sql injection=0D
=0D
Discovered by: Nomenumbra=0D
Date: 6/4/2006=0D
impact:high (privilege escalation,defacement)=0D
=0D
FlexCustomer versions 0.0.4 and below are vulnerable to and SQL injection in the common user and admin-panel=0D
login as follows (it really is SQL-injection 101 you know....):=0D
=0D
a' or '1' = '1=0D
=0D
The piece of vulnerable code is:=0D
=0D
if (!empty($logincheck)){=0D
$sql = "select username,adminid from useradmin where username='$checkuser' and password='$checkpass'";=0D
$results = $db->select($sql);=0D
=0D
Doing no sanitizing whatsoever.=0D
=0D
Signing off,=0D
=0D
Nomenumbra/[0x4F4C]

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH