2010-09-01 07:00:27 PDT
Hello!
My name is Bogdan Calin. I'm a security researcher at Acunetix (
http://www.acunetix.com).
You can contact me at this email address: bogdan [at] acunetix.com
I wanted to contact you on a private channel (because I'm reporting security issues), however the only contact information I could find was this forum.
I would like to report a list of XSS vulnerabilities in NuSOAP.
In various files contained in the NuSOAP library, you echo the contents of the $_SERVER['PHP_SELF'] variable without properly encoding it.
Here are a few cases (I'm using the latest version of NuSOAP, version 0.9.5):
Filename lib\nusoap.php, line 5429
<p>View the <a href="'.$PHP_SELF.'?wsdl">WSDL</a> for the service.
$PHP_SELF is initialized before as
$PHP_SELF = $_SERVER['PHP_SELF'];
Same situation in file class.wsdl.php, line 847
<p>View the <a href="'.$PHP_SELF.'?wsdl">WSDL</a> for the service.
This makes it vulnerable to XSS. By using an URL like
http://site/filename.php/1%3CScRiPt%3Eprompt(923395)%3C/ScRiPt%3E
it's possible to execute Javascript code.
Our scanner found an XSS vulnerability in a popular application that is using NoSOAP and that's how we got to you.
I hope you will fix this problem. Thanks in advance and have a nice day!
Bogdan