Reflected XSS in https://www.██████/
The `i=` parameter on a ViewContent page was not properly escaped for URL-encoded values, allowing an attacker to inject a script that executes in the victim's browser. An attacker could run arbitrary JavaScript in the context of the site, potentially stealing session cookies or performing actions as the victim.
Originally disclosed on HackerOne
- Triaged in 5 hours
- Fixed in 43 days
- Disclosed after 3 months
Hello Security Team,
I would like to report the XSS vulnerability on your system.
The i= parameter is not escaped properly for URL encoded values.
Steps To Reproduce: Visit the following POC link: https://www.████/ViewContent.aspx?con_id_pk=2726&fr=s&i=l9716%27();}]9836&001%3C%2FScript%2F%3E%3CSvg%2FOnLoad%3D(confirm)(1)%3E=1
- Tested on firefox browser: █████████
2.Tested on google chrome browser: ██████████ Thanks Niraj
Impact
An XSS attack allows an attacker to execute arbitrary JavaScript in the context of the attacked website and the attacked user. This can be abused to steal session cookies, perform requests in the name of the victim, or for phishing attacks.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could execute arbitrary JavaScript in the context of the attacked website and user, potentially stealing session cookies, performing requests as the victim, or conducting phishing attacks.
What the attacker needed
Victim clicks a crafted link
How it was found
- Visit the provided proof-of-concept link containing a crafted `i=` parameter.
- The payload executes in the browser, as tested on Firefox and Google Chrome.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a website takes input from the URL and puts it directly into the page without cleaning it, an attacker can sneak in code that the browser runs. Here, the `i=` parameter allowed a script to be injected, so anyone who clicked a crafted link would run the attacker's code. This is called cross-site scripting (XSS).
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.