About The Existing Vulnerability In Nasa
A NASA JPL subdomain reflected user input from the fn_contains parameter without sanitisation, allowing an attacker to inject HTML and script. The author demonstrated reflected cross-site scripting by injecting a link and script that executed in the page.
Published on infosecwriteups.com
The title may confuse you a little bit because I know, you’re not expecting NASA. But I promise if you follow me without skipping a single line I’ll make my point perfect 😉.
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 page echoed the fn_contains parameter into HTML without encoding or validation.
Impact
An attacker could run script in a victim's browser on the NASA domain, though the text does not show theft of data or accounts.
What the attacker needed
Victim clicks a crafted link; filter_viz must equal 2
How it was found
- Find the alt_locator directory and brute-force to /alt_gulf.
- Open /gulfoilspill_adv.html and inspect the page source for parameters.
- Visit gulf_fusion_table_image.php and combine filter_viz=2 with fn_contains.
- Enter a test value in fn_contains and see it reflected on the page.
- Inject an anchor tag and then a script payload to confirm execution.
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.
When a website takes text you type and puts it straight back into the page without cleaning it, an attacker can type code instead of normal text. That code then runs in the browser of anyone who opens the crafted link, which is called cross-site scripting (XSS). Here the author showed that a search-like parameter echoed input back, so a link or script could be planted.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.