BugTraq
PHPMyPub (PHP) Jan 19 2003 05:51PM
Frog Man (leseulfrog hotmail com)

Informations :
°°°°°°°°°°°°°°
Website : http://phpmypub.free.fr
Version : 1.2.0
Problem : Admin access

PHP Code/Location :
°°°°°°°°°°°°°°°°°°°
admin/index.php :
------------------------------------------------------------------------

[...]
$auth = $HTTP_COOKIE_VARS["adminpub"];
if (!$auth)
{
if ($formulaire)
{
if ($pass==$admin_pass)
{
setcookie("adminpub", "true");
$ADMIN_MODE = true;
}
else
{
[...]
exit;
}
}
[...]
------------------------------------------------------------------------

Exploit :
°°°°°°°°°
Set cookie (name='adminpub', value='1') on http://[target]/admin/index.php .

Patch :
°°°°°°°
A patch can be found on http://www.phpsecure.info.

More details :
°°°°°°°°°°°°°°
In French :
http://www.frog-man.org/tutos/PHPMyPub.txt
Translated by Google :
http://translate.google.com/translate?u=http%3A%2F%2Fwww.frog-man.org%2F
tutos%2FPHPMyPub.txt&langpair=fr%7Cen&hl=en&ie=ISO-8859-1&prev=%2Flangua
ge_tools

frog-m@n

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !
http://www.msn.fr/msger/default.asp

[ reply ]


 

Privacy Statement
Copyright 2010, SecurityFocus