Skip to content
Info disclosure Write-up Beginner

Hacking NASA: How I Disclosed a Data Exposure Vulnerability to th

An unauthenticated API endpoint exposed internal database identifiers, user IDs, and precise geolocation data, and a permissive CORS policy allowed any website to read it. An attacker could scrape this metadata to build a shadow database linking anonymous scientific data to specific users and organisations.

Nicholas K70n0s510 Mullenski Follow

Published on systemweakness.com

When you step into the world of cybersecurity, you are trained to look for cracks in the pavement. But every ethical hacker dreams of testing their skills against the strongest infrastructure on the planet.

Nicholas K70n0s510 Mullenski, on systemweakness.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 API serializer included internal fields in public responses and the CORS policy was set to allow all origins, together exposing sensitive metadata without authentication.

Impact

An attacker could scrape the exposed metadata to build a shadow database linking anonymous scientific data to specific internal user accounts and organisations, lowering the barrier for social engineering and identity correlation.

What the attacker needed

No authentication required; Publicly accessible API endpoint; Knowledge of the API specification

The fix

The API should be fixed by stripping internal fields from public responses, replacing the wildcard CORS policy with a strict allowlist, and adding rate limiting to unauthenticated endpoints.

How it was found

  1. Discover the public OpenAPI specification for the API.
  2. Identify the measurement endpoints that return scientific data.
  3. Send a request to the measurement endpoint with parameters to fetch a sample of air temperature data.
  4. Observe that the response includes internal IDs, user IDs, organisation metadata, and precise geolocation without authentication.

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 API is a way for programs to talk to each other. This one was supposed to give out public science data, but it also included hidden details like internal user numbers and exact locations. Because the API allowed any website to read its responses, someone could write a script to collect all this extra information and use it to learn about the people who submitted the data.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Nicholas K70n0s510 Mullenski

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.