Skip to content
Leaked secrets Disclosed report Beginner

Publicly Accessible .env File Exposing Hardcoded Credentials on NASA’s Git Repository

A publicly reachable .env file on NASA's Bitbucket server contained plaintext credentials for a live UAT environment. Those credentials were actively used by a script to authenticate to NASA's SIT token service, so anyone who found the file could have used them for unauthorised access or API abuse.

National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

Originally disclosed on Bugcrowd

  • Accepted in 17 days
  • Fixed in 20 days
  • Disclosed after 26 days

Summary by x3ro

A publicly accessible .env file on NASA’s Bitbucket server exposed plaintext credentials used in a live UAT environment. These credentials were actively consumed by a script to authenticate with NASA’s SIT token service (cmr.sit.earthdata.nasa.gov). This exposure could have allowed unauthorized access, data extraction, or API abuse if exploited.

The original report as published on Bugcrowd, by _x3ro_. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

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 a configuration file containing live credentials was committed to a public code repository instead of being kept out of version control and stored in a secret manager.

Impact

The exposed credentials could have allowed unauthorised access, data extraction, or API abuse against the live UAT environment.

What the attacker needed

Publicly readable repository; no authentication needed to view file

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.

A .env file is a small configuration file that programs use to store settings, and it often holds passwords or API keys. Here it was left publicly readable on a code-hosting server, so anyone could open it and read the secrets inside. Those secrets unlocked a live test system, meaning a stranger could log in as the application.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.