exploit-db-mirror/platforms/php/webapps/26442.txt
Offensive Security 5e2fc10125 DB: 2016-09-03
2016-09-03 13:13:25 +00:00

7 lines
No EOL
547 B
Text
Executable file

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>