[<prev] [next>] [day] [month] [year] [list]
Message-Id: <200803172336.15072.hanno@hboeck.de>
Date: Mon, 17 Mar 2008 23:36:14 +0100
From: Hanno Böck <hanno@...eck.de>
To: full-disclosure@...ts.grok.org.uk, bugtraq@...urityfocus.com
Subject: Cross Site Scripting (XSS) in phpstats 0.1_alpha, CVE-2008-0125
Online at:
http://int21.de/cve/CVE-2008-0125-phpstats.html
Cross Site Scripting (XSS) in phpstats 0.1_alpha, CVE-2008-0125
References
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0125
http://www.michael-wagner.de/software/phpstats/
Description
phpstats is a tool creating statistic information about a file tree. Note that
the name is ambigious, there's more than one tool called phpstats.
The application is vulnerable to simple Cross Site Scripting, which can be
used to steal authentication information from other webapps if they're
installed on the same hostname.
Example
Assuming phpstats is installed on http://localhost/phpstats/, one can inject
JavaScript with:
http://localhost/phpstats/phpstats.php?baseDir=<script>alert(1)</script>&mode=run
Workaround/Fix
Don't use phpstats on a hostname where other web applications are installed.
Vendor has not replied and not fixed the issue yet.
Disclosure Timeline
2008-02-13 Vendor contacted
2008-03-17 Published advisory
CVE Information
The Common Vulnerabilities and Exposures (CVE) project has assigned the name
CVE-2008-0125 to this issue. This is a candidate for inclusion in the CVE
list (http://cve.mitre.org/), which standardizes names for security problems.
Credits and copyright
This vulnerability was discovered by Hanno Boeck of schokokeks.org webhosting.
It's licensed under the creative commons attribution license.
Hanno Boeck, 2008-03-17, http://www.hboeck.de
--
Hanno Böck Blog: http://www.hboeck.de/
GPG: 3DBD3B20 Jabber/Mail: hanno@...eck.de
Download attachment "signature.asc " of type "application/pgp-signature" (190 bytes)
Powered by blists - more mailing lists