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

WPO-Foundation/webpagetest (lastest version)- Cross-Site Scripting (XSS) #820

Closed
bestshow opened this issue Feb 27, 2017 · 0 comments
Closed

Comments

@bestshow
Copy link

bestshow commented Feb 27, 2017

Product:WPO-Foundation/webpagetest
Download: https://github.com/WPO-Foundation/webpagetest
Vunlerable Version: lastest version
Tested Version: lastest version
Author: ADLab of Venustech

Advisory Details:
I have discovered a Cross-Site Scripting (XSS) in “WPO-Foundation/webpagetest”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in “pssid” HTTP GET parameter passed to “webpagetest-master/www/compare-cf.php” url. An attacker could execute arbitrary HTML and script code in browser in context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
http://localhost/.../WPO-Foundation_master/webpagetest-master/www/compare-cf.php?pssid=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22

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