Skip to content
Misconfiguration Write-up Beginner

How i find a valid bug in NASA

The subdomain's email configuration had weak SPF, DKIM, DMARC, and MX records, and the mail server did not strictly validate sender identity. An attacker could send spoofed emails that appeared to come from NASA, enabling phishing and social engineering.

medium.com

Published on medium.com

One day, I was hunting on NASA assets and testing different subdomains for security issues. While exploring one of the subdomains, I noticed an email-related functionality.

Rekhanshrajput, on medium.com

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 lacked proper sender authentication checks (such as SPF, DKIM, and DMARC enforcement) and did not validate the sender identity in the application.

Impact

An attacker could send spoofed emails that appear to come from NASA, potentially tricking users into phishing, fake internal communication, malware delivery, or social engineering.

What the attacker needed

Access to a subdomain with email functionality; ability to send email requests

How it was found

  1. Found a subdomain with email-related functionality.
  2. Checked the domain's email security configuration using MXToolbox, reviewing SPF, DKIM, DMARC, and MX records.
  3. Noticed weak or improper email protection configuration.
  4. Tested how the mail server handled sender information and email validation.
  5. Modified sender-related values and tested whether spoofed emails were accepted.
  6. Confirmed that the mail system processed the request without proper verification.

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.

Email spoofing is when someone sends an email that looks like it came from a trusted organisation, but it actually came from the attacker. This happens when the email system does not properly check who really sent the message. Here, the mail server accepted emails with fake sender information, so an attacker could trick people into believing NASA sent them.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.