CVE-2007-1871: Cross site scripting in chcounter 3.1.3

Type securityvulns
Reporter Securityvulns
Modified 2007-04-12T00:00:00


Cross site scripting in chcounter 3.1.3

security advisory


Description: Cross site scripting describes attacks that allow to insert malicious html or javascript code via get or post forms. This can be used to steal session cookies. chcounter is some free software php script for website statistics. The login form on the start page can be used to insert javascript code.

Workaround/Fix: There's no vendor fix. Vendor has been contacted 2007-03-11 and has not answered yet.

Sample Code: <form method=post action=http://chcounterinstallation/stats/> <input type=hidden name=login_name value='"><script>alert(1)</script>'> <input type=submit> </form>

CVE Information: The Common Vulnerabilities and Exposures (CVE) project has assigned the name CVE-2007-1871 to this issue. This is a candidate for inclusion in the CVE list (, which standardizes names for security problems.

Credits and copyright: This vulnerability was discovered by Hanno Boeck of webhosting. It's licensed creative commons attribution:

Hanno Boeck, 2007-04-12,