Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webpagetest – Cross-Site Scripting (XSS) in “benchmarks/view.php” #833

Closed
bestshow opened this issue Mar 4, 2017 · 1 comment
Closed

Comments

@bestshow
Copy link

bestshow commented Mar 4, 2017

Webpagetest – Cross-Site Scripting (XSS) in “benchmarks/view.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:
A Cross-Site Scripting (XSS) was discovered in“webpagetest 3.0”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “benchmark” HTTP GET parameter passed to the “webpagetest-master/www/benchmarks/view.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
http://localhost/.../webpagetest-master/www/benchmarks/view.php?benchmark=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22

@bestshow
Copy link
Author

bestshow commented Mar 7, 2017

Hi,Is there anyone who can handle this issue ?

@pmeenan pmeenan closed this as completed in effb810 Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant