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

wallacepos – Cross-Site Scripting (XSS) #84

Closed
bestshow opened this issue Mar 28, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@bestshow
Copy link

commented Mar 28, 2017

Product: wallacepos
Download: https://github.com/micwallace/wallacepos
Vunlerable Version: v1.4.1 and probably prior
Tested Version: v1.4.1
Author: ADLab of Venustech

Advisory Details:
A Cross-Site Scripting (XSS) was discovered in “wallacepos v1.4.1”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “token” HTTP GET parameter passed to the “wallacepos-master/myaccount/resetpassword.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/.../wallacepos-master/myaccount/resetpassword.php?token=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22

@micwallace

This comment has been minimized.

Copy link
Owner

commented Mar 29, 2017

Thanks, fixed in the next version.

@micwallace micwallace added the bug label Mar 30, 2017

@micwallace

This comment has been minimized.

Copy link
Owner

commented Apr 11, 2017

Thanks for the report, fixed in the latest commit:
8b469ab

@micwallace micwallace closed this Apr 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.