[] NeoSense

PHP 4.x - PHPInfo Cross-Site Scripting

Author: Stefan Esser
type: webapps
platform: php
port: 
date_added: 2005-10-31 
date_updated: 2013-06-25 
verified: 1 
codes: CVE-2005-3388;OSVDB-20406 
tags: 
aliases:  
screenshot_url:  
application_url: 

source: https://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>