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

NagVis (lastest version)- Cross-Site Scripting (XSS) #91

Closed
bestshow opened this issue Feb 27, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@bestshow
Copy link

commented Feb 27, 2017

Product:NagVis
Download: https://github.com/NagVis/nagvis
Vunlerable Version: lastest version and probably prior
Tested Version: lastest version
Author: ADLab of Venustech

Advisory Details:
I have discovered a Cross-Site Scripting (XSS) in “nagvis”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in “object_id” HTTP GET parameter passed to “nagvis-master/share/userfiles/gadgets/std_table.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/.../nagvis-master/share/userfiles/gadgets/std_table.php?object_id=%22%3E%3Cscript%3Ealert(1);%3C/script%3E%3C%22

@carnil

This comment has been minimized.

Copy link

commented Mar 5, 2017

This issue has been assigned CVE-2017-6393

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.