Reflected XSS in sciencediscoveryengine subdomain of nasa.gov
A reflected cross-site scripting flaw existed on a NASA subdomain, where crafted input was echoed back into the page without proper encoding. An attacker could get malicious script to run in a victim's browser, potentially leading to session hijacking or phishing.
Originally disclosed on Bugcrowd
- Accepted in 4 days
- Fixed in 3 months
- Disclosed after 4 months
Summary by Hrishi1337
Description:
A Reflected Cross-Site Scripting (rXSS) vulnerability was identified in the NASA subdomain, specifically at sciencediscoveryengine. The vulnerability allowed attackers to inject malicious JavaScript payloads into the application, which would execute in the context of the victim's browser when they interacted with the manipulated URL.
Impact: Exploitation of this issue could lead to the execution of unauthorized scripts, session hijacking, unauthorized access to sensitive information, or phishing attacks, impacting the confidentiality and integrity of user data.
Resolution: The vulnerability has been fixed by implementing proper input validation and output encoding to ensure that user-supplied inputs are sanitized and rendered safely.
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 echoed user-supplied input into its response without validating or encoding it.
Impact
Exploitation could allow unauthorised script execution, session hijacking, access to sensitive information, or phishing, affecting the confidentiality and integrity of user data.
What the attacker needed
Victim clicks a crafted link
The fix
The vulnerability was fixed by adding proper input validation and output encoding so user input is sanitised and rendered safely.
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, or XSS, is when a website takes something a user typed or put in a link and shows it back on the page without cleaning it first. If that something is code, the browser runs it as if the site itself wrote it. Here the site reflected the input straight back, so a crafted link could make a visitor's browser run the attacker's script.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.