Skip to content
XSS Write-up Beginner

About The Discovery Of Another Security Vulnerability In Nasa

A reflected cross-site scripting vulnerability was found on a NASA subdomain where user input in a search box was not properly sanitised. An attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to account takeover or data theft.

7h3h4ckv157 Follow

Published on infosecwriteups.com

This write-up is approximately my “nth disclosure” inNASA. If any of you doesn't know about NASA, I'll explain ⬇

7h3h4ckv157, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the search input was reflected into the page without proper output encoding or sanitisation.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser, potentially leading to account takeover or data theft.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Enumerate subdomains to find pds.nasa.gov
  2. Review client-side code for suspicious links
  3. Manually test URL parameters that accept user input, such as the search box
  4. Execute a proof-of-concept XSS payload in the search box

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 write-up has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is a flaw where a website takes input from a user and puts it into a page without cleaning it first. This lets an attacker sneak in their own JavaScript code, which then runs in the browser of anyone who views the page. The attacker could then steal cookies or perform actions as the victim.

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 7h3h4ckv157

View all

9 more disclosed reports, best first.

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.