Authentication Bypass + exposure of PII + reflected XSS
A Keycloak realm on a NASA subdomain accepted default credentials, letting anyone log in without authorisation. Once logged in, a user could see internal staff personal details and the jobno parameter reflected unsanitised input, allowing script execution.
- Accepted in 4 days
- Fixed in 16 days
- Disclosed after 17 days
Summary by snillx
During a review of a subdomain in appdat.jsc.nasa.gov, three critical vulnerabilities were identified:
**Authentication Bypass: **The Keycloak “ordem-production” realm accepts default credentials, granting full access without authorization.
Sensitive Information Exposure: Authenticated users can view internal staff PII, full names, mail codes, phone numbers and email addresses on the About page, enabling spear-phishing and privacy violations.
Reflected XSS: The jobno parameter is not sanitized, allowing arbitrary JavaScript execution (e.g. cookie theft) after login.
Collectively, these issues enable unauthorized access, **PII disclousure **and session hijacking.
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 Keycloak realm was deployed with default administrative credentials left unchanged, and the jobno parameter was reflected into the page without output encoding.
Impact
An attacker could gain unauthorised access, view staff personal data for spear-phishing, and run script in a logged-in user's browser to steal their session.
What the attacker needed
Default Keycloak credentials; victim visits a crafted link while logged in
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.
Keycloak is a login system that many websites use to manage accounts. Here it was set up with the factory-default username and password, so anyone who knew them could get in. After logging in, the site showed staff contact details and also echoed a URL parameter back into the page without cleaning it, which lets an attacker run their own code in a victim's browser.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.