XSS on ███████
A reflected cross-site scripting vulnerability was found in a URL path parameter, allowing an attacker to execute arbitrary JavaScript in a victim's browser. The report claims an attacker could steal cookies, send requests as the victim, prompt malware downloads, or deface the site.
Originally disclosed on HackerOne
- Triaged in 7 hours
- Fixed in 32 days
- Disclosed after 38 days
Hi, If found XSS on █████████
##Steps To Reproduce: 1- go to https://█████████/thredds/dap4/%221%3CScRiPt%3Ealert%289218%29%3C%2FScRiPt%3E 2- You will see XSS is fired.
##POC ███
Impact
- Cookie Stealing - A malicious user can steal cookies and use them to gain access to the application.
- Arbitrary requests - An attacker can use XSS to send requests that appear to be from the victim to the web server.
- Malware download - XSS can prompt the user to download malware. Since the prompt looks like a legitimate request from the
site, the user may be more likely to trust the request and actually install the malware. Defacement - attacker can deface the website using JavaScript code.
Kind Regards, @0xElkot
System Host(s)
█████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
1- go to https://██████/thredds/dap4/%221%3CScRiPt%3Ealert%289218%29%3C%2FScRiPt%3E 2- You will see XSS is fired.
Suggested Mitigation/Remediation Actions
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
Root cause
Likely the application reflected user-controlled input from the URL path into the response without proper output encoding.
Impact
An attacker could steal cookies, send requests as the victim, prompt malware downloads, or deface the website.
What the attacker needed
Victim clicks a crafted link
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.
Cross-site scripting (XSS) is when a website takes input from a URL or form and puts it into the page without cleaning it, so an attacker can make the browser run their own JavaScript. Here, a crafted link caused a script to run, which could let an attacker act as the logged-in user.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.