phpStats 0.1_alpha - 'phpStats.php' Cross-Site Scripting

EDB-ID:

31414




Platform:

PHP

Date:

2008-03-18


source: https://www.securityfocus.com/bid/28291/info

The 'phpstats' program is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content.

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.

This issue affects phpstats 0.1_alpha.

http://www.example.com/phpstats/phpstats.php?baseDir=<script>alert(1)</script>&mode=run