Skip to content
XSS Disclosed report Intermediate

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.

MandipGuragai Follow

Originally disclosed on Bugcrowd

Informational View original
  • 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.

The original report as published on Bugcrowd, by MandipGuragai. Images and videos are our own copies; raw HTML is shown as text. View it on 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.

More by MandipGuragai

View all

1 more disclosed report, best first.

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.