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

reasoncms – Cross-Site Scripting (XSS) #264

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

reasoncms – Cross-Site Scripting (XSS) #264

bestshow opened this issue Mar 2, 2017 · 2 comments

Comments

@bestshow
Copy link

bestshow commented Mar 2, 2017

Product: reasoncms
Download: https://github.com/reasoncms/reasoncms
Vunlerable Version: v4.7 and probably prior
Tested Version: v4.7
Author: ADLab of Venustech

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

@mryand
Copy link
Contributor

mryand commented Mar 2, 2017

@mryand mryand closed this as completed Mar 2, 2017
@mryand
Copy link
Contributor

mryand commented Mar 2, 2017

Thank you for reporting this bug, @bestshow !

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

2 participants