Hacking Nasa The Journey To My First Hall Of Fame
An internal NASA mail server accepted SMTP connections on port 25 and allowed an external sender to relay email through it. An attacker could use this open relay to send spoofed emails from a NASA address.
One fine day, while sipping my coffee ☕ and scrolling through LinkedIn (as one does), I came across a post from a bug hunter proudly showing off their Hall of Fame mention at NASA. I paused — mid-sip — and thought, “Wait, why not give it a shot?” A few bug reports and sleepless nights later, I landed my very first…
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 mail server was misconfigured to allow unauthenticated external clients to relay email without proper access controls.
Impact
The mail server could be used as an open relay, allowing an attacker to send spoofed emails from a NASA address, which could facilitate phishing or spam campaigns.
What the attacker needed
Network access to port 25; no authentication required
How it was found
- Discover subdomains of nasa.gov using subfinder.
- Filter live subdomains with httpx.
- Scan for vulnerabilities with nuclei, but find nothing.
- Pick a random subdomain and run subfinder again to find a mail server subdomain.
- Connect to the mail server on port 25 using telnet.
- Test SMTP open relay commands to send an email from and to an internal address.
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 mail relay is a server that lets anyone on the internet send email through it, even if they are not a legitimate user. This can be abused to send spam or phishing emails that appear to come from the organisation's domain.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.