catchpoint / WebPageTest

Official repository for WebPageTest
Other
3.08k stars 715 forks source link

Webpagetest – Multiple Cross-Site Scripting (XSS) in “benchmarks/delta.php” #831

Closed bestshow closed 7 years ago

bestshow commented 7 years ago

Webpagetest – Multiple Cross-Site Scripting (XSS) in “benchmarks/delta.php” Product: webpagetest Download: https://github.com/WPO-Foundation/webpagetest Vunlerable Version: 3.0 and probably prior Tested Version: 3.0 Author: ADLab of Venustech

Advisory Details: Multiple Cross-Site Scripting (XSS) were discovered in“webpagetest 3.0”, which can be exploited to execute arbitrary code. The vulnerabilities exist due to insufficient filtration of user-supplied data in two HTTP GET parameters passed to the “webpagetest-master/www/benchmarks/delta.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website. The exploitation examples below use the "alert()" JavaScript function to see a pop-up messagebox: Poc: (1) http://localhost/.../webpagetest-master/www/benchmarks/delta.php?benchmark=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22 (2) http://localhost/.../webpagetest-master/www/benchmarks/delta.php?time=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22

bestshow commented 7 years ago

Hi,Is there anyone who can handle this issue ?