|
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]