How i Hacked into NASA & got Hall-Of-Fame, Acknowledgement -2025
A shell script containing AWS access and secret keys was publicly downloadable from a page on a NASA-related domain. An attacker who found it could have used those credentials to access the associated AWS account, though the author did not attempt further exploitation.
Published on medium.com
Free Link
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 a script containing hard-coded AWS credentials was left publicly accessible on a web server.
Impact
The exposed AWS keys could have allowed access to the associated cloud account, and the report was accepted as a P1 issue, but the author did not attempt further exploitation.
What the attacker needed
In-scope NASA-related domains; publicly reachable web page
How it was found
- List the in-scope domains and enumerate their subdomains.
- Filter the subdomains down to live hosts.
- Run an automated scanner against the live hosts, which returned nothing.
- Collect archived URLs and look for sensitive file extensions, which also returned nothing.
- Use Google search filters to look for exposed file types.
- Manually browse pages until a shell script downloads that contains AWS keys.
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.
A web server was serving a script file that anyone could download, and that file had cloud login credentials written inside it. Credentials like these are like a username and password for a cloud account, so anyone who reads the file could potentially log in as the site owner. The researcher found it by searching Google for file types that are often left exposed by mistake.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.