PDA

Bekijk Volledige Versie : Cross Site Scripting (XSS) in phpstats 0.1_alpha, CVE-2008-0125



Hanno =?utf-8?q?B=C3=B6ck?=
18/03/08, 15:35
--nextPart1552338.kYvjmdtXZD
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=3DCVE-2008-0125
http://www.michael-wagner.de/software/phpstats/

Description

phpstats is a tool creating statistic information about a file tree. Note t=
hat=20
the name is ambigious, there's more than one tool called phpstats.
The application is vulnerable to simple Cross Site Scripting, which can be=
=20
used to steal authentication information from other webapps if they're=20
installed on the same hostname.

Example

Assuming phpstats is installed on http://localhost/phpstats/, one can injec=
t=20
JavaScript with:

http://localhost/phpstats/phpstats.php?baseDir=3D<script>alert(1)</script>&=
mode=3Drun

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 nam=
e=20
CVE-2008-0125 to this issue. This is a candidate for inclusion in the CVE=20
list (http://cve.mitre.org/), which standardizes names for security problem=
s.

Credits and copyright

This vulnerability was discovered by Hanno Boeck of schokokeks.org webhosti=
ng.=20
It's licensed under the creative commons attribution license.

Hanno Boeck, 2008-03-17, http://www.hboeck.de

=2D-=20
Hanno B=C3=B6ck Blog: http://www.hboeck.de/
GPG: 3DBD3B20 Jabber/Mail: hanno@hboeck.de

--nextPart1552338.kYvjmdtXZD
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQBH3vJfr2QksT29OyARAnK1AKCPeStoL7V0H6FmQ4nciG sdkWsCmwCgoAmy
WItcGQpg1yVziI98TpyuZ7w=
=MKJE
-----END PGP SIGNATURE-----

--nextPart1552338.kYvjmdtXZD--