← Advisories

webgrind 1.0 (dataFile) Remote Reflected XSS Vulnerability

Medium
Advisory ID
ZSL-2012-5073
Release Date
17 February 2012
Vendor
Joakim Nygard and Jacob Oettinger - http://code.google.com/p/webgrind
Affected Version
1.0
CVE
N/A
Tested On
Microsoft Windows XP Professional SP3 (EN), Apache 2.2.21, PHP 5.3.9, MySQL 5.5.20
Summary

Webgrind is an Xdebug profiling web frontend in PHP5.

Description

webgrind suffers from a XSS vulnerability when parsing user input to the 'dataFile' parameter via GET method in the index.php script. Attackers can exploit this weakness to execute arbitrary HTML and script code in a user's browser session.

/index.php: ----------- 24: case 'function_list': 25: $dataFile = get('dataFile');
Proof of Concept
Disclosure Timeline
13.02.2012Vulnerability discovered.
16.02.2012Vendor notified.
17.02.2012Public security advisory released.
17.02.2012Vendor states that the issue is fixed in the current version in trunk on GitHub.
Credits
Vulnerability discovered by Gjoko Krstic
References
Changelog
17.02.2012Initial release
18.02.2012Added reference [3], [4] and [5]
25.02.2012Added reference [6]