PHP 4.x PHPInfo Cross-Site Scripting Vulnerability

2005-10-31T00:00:00
ID EDB-ID:26442
Type exploitdb
Reporter Stefan Esser
Modified 2005-10-31T00:00:00

Description

PHP 4.x PHPInfo Cross-Site Scripting Vulnerability. CVE-2005-3388 . Webapps exploit for php platform

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

PHP is prone to a cross-site scripting vulnerability. This issue is due to a failure in the application to properly sanitize user-supplied input.

An attacker may leverage this issue to have arbitrary script code execute 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.example.com/phpinfo.php?GLOBALS[test]=<script>alert(document.cookie);</script>