Reflected XSS Exploit Chain with Session Cookie Theft on NASA Subdomain
A reflected cross-site scripting flaw existed on a NASA subdomain because the User-Agent header was echoed without sanitisation. An attacker could craft a request that executes JavaScript on a trusted NASA URL, potentially stealing session cookies or enabling phishing.
Originally disclosed on Bugcrowd
- Disclosed after 4 months
Summary by MandipGuragai
A reflected XSS vulnerability was discovered on a NASA subdomain via unsanitized User-Agent input. The initial report was marked as Informational, but this submission demonstrates a full exploit chain using a proxy-based payload to trigger JavaScript execution on a trusted NASA URL. This can lead to session hijacking and phishing attacks. The issue was responsibly reported via Bugcrowd.
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 the User-Agent header into an HTML response without encoding or validating it.
Impact
This could lead to session hijacking and phishing attacks, though the text does not show a working cookie theft.
What the attacker needed
Victim visits a crafted link or page
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 user and puts it into a page without cleaning it, so an attacker can make the site run their own JavaScript. Here the input was the User-Agent header, which a browser normally sends to identify itself. Because the site reflected that header unsanitised, an attacker could make a victim's browser run malicious script on a trusted NASA page.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.