Session ID Disclosure via Referer Header to Third-Party Domains (nspires.nasaprs.com)
The application put its session identifier into URLs as a path parameter, so when pages loaded resources from third-party domains the identifier was sent in the Referer header. An attacker who could read those third-party logs or intercept the header could obtain a valid session token and potentially hijack the user's session.
- Disclosed after 2 months
Summary by madhu873
Session ID leakage in Referer headers on nspires.nasaprs.com
The application appends ;jsessionid to URLs. When pages load, the session ID is exposed in Referer headers sent to third-party domains (e.g., Google Analytics). Impact: Session tokens leave NASA’s control, creating risks of token exposure, third-party log storage, and potential hijacking.
Fix: Avoid embedding session IDs in URLs; use secure cookies for session management.
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 used URL-based session tracking (appending ;jsessionid) instead of cookie-based sessions, causing the session identifier to be included in Referer headers sent to third parties.
Impact
Session tokens could leave the organisation's control, creating risks of token exposure, third-party log storage, and potential hijacking.
What the attacker needed
Victim visits the site; third-party content loaded on page
The fix
Session IDs should not be embedded in URLs; secure cookies should be used for session management instead.
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.
A session ID is a secret code a website gives your browser so it knows you are logged in. This site put that code into the web address itself, and browsers automatically send the address of the page you came from (the Referer header) to other sites whose content is loaded on the page. That meant the secret code was handed to outside companies, and anyone who could see it could pretend to be you.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.