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

[BUG] [XSS] Multiple reflected cross-site scripting vulnarabilites in Graphite composer mygraph parameters(action and graphName). #2794

Open
0x566164696D opened this issue Jan 20, 2023 · 0 comments
Labels

Comments

@0x566164696D
Copy link

Product
Graphite

Product Version
Current master branch

Environment
docker graphiteapp/graphite-statsd. Builded from the current master branch.

Vulnerability
Reflected cross-site scripting (XSS)

Severity
Medium

Description
Cross-site scripting is a type of attack on web application clients, in which any code prepared by an attacker can be executed in the client’s browser. Vulnerability to this type of attack occurs due to incorrect filtering of user input data.

Impact
As a result of the attack, an attacker can steal a user session, make requests on behalf of the user, and get user credentials, etc.

Expected behavior
Sanitize all the parameters passed to the server by the user.

Steps to Reproduce

  • Login to the system
  • Go to
http://127.0.0.1/composer/mygraph?action="><script>alert(1)</script>&graphName=test
http://127.0.0.1/composer/mygraph?action=delete&graphName="><script>alert(1)</script>
@0x566164696D 0x566164696D changed the title [BUG] Multiple reflected cross-site scripting vulnarabilites in Graphite composer mygraph parameters(action and graphName). [BUG] [XSS] Multiple reflected cross-site scripting vulnarabilites in Graphite composer mygraph parameters(action and graphName). Jan 20, 2023
@deniszh deniszh added security Security issue xss labels Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants