How I got Appreciation Letter from NASA
A NASA subdomain's Keycloak login page was vulnerable to an open redirect through the redirect_uri parameter. An attacker could craft a link that sends users to an arbitrary site after authentication, which could be used for phishing.
medium.com
Published on medium.com
It all started when my friend Saravana told me about someone he knew who got a Hall of Fame (HoF) mention from NASA.
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 Keycloak login page did not validate or restrict the redirect_uri parameter to trusted destinations.
What the attacker needed
Victim clicks a crafted link; NASA subdomain with Keycloak login
How it was found
- Find a NASA subdomain that uses a Keycloak login page.
- Test the redirect_uri parameter with the loxs tool.
- Observe that the page redirects to an external site, confirming the open redirect.
- Submit the report, which was accepted.
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.
An open redirect is a flaw where a website takes a link parameter and sends you to whatever address is in it, even a bad site. Here, the login page's redirect_uri parameter was not checked, so a crafted link could bounce a user to an attacker's page after login. That makes phishing links look more trustworthy because they start on the real NASA domain.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.