AutoIndex PHP Script 2.2.2 - 'PHP_SELF index.php' Cross-Site Scripting

Related Vulnerabilities: CVE-2007-5983  
Publish Date: 27 Aug 2007
Author: L4teral
                							

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

AutoIndex PHP Script is prone to a cross-site scripting vulnerability because it fails to sufficiently sanitize user-supplied input data.

An attacker may leverage this issue to execute arbitrary script code 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.

AutoIndex PHP Script 2.2.2 is vulnerable; other versions may also be affected.

http://www.example.com/AutoIndex/index.php/"><script>alert(document.cookie)</script>