Skip to content
XXE Disclosed report Intermediate

XML External Entity Injection in NASA CMR Ingest API - info dump

An XXE vulnerability in NASA's CMR Ingest API allowed unauthenticated attackers to perform blind SSRF and, through error-based techniques, read arbitrary files from the server. The flaw was in XML parsing of collection validation requests.

thomasito Follow

Originally disclosed on Bugcrowd

Critical View original
  • Accepted in 5 days
  • Fixed in 31 days
  • Disclosed after 52 days

Summary by thomasito

An XXE vulnerability was identified in NASA’s Common Metadata Repository that enabled unauthenticated arbitrary file reads and server-side request forgery (SSRF).

Affected endpoints:

  • Production: https://cmr.earthdata.nasa.gov/ingest/providers/*/validate/collection/*
  • UAT: https://cmr.uat.earthdata.nasa.gov/ingest/providers/*/validate/collection/*

Initial testing demonstrated blind SSRF. Subsequently, error-based XXE techniques revealed entity expansion in parser error responses, resulting in a arbitrary file read vulnerability.

The original report as published on Bugcrowd, by thomasito. 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 the XML parser was configured to allow external entities and did not disable entity expansion or external DTD loading.

Impact

An unauthenticated attacker could read arbitrary files from the server and perform SSRF, potentially accessing internal resources.

What the attacker needed

None

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.

XML External Entity (XXE) is a flaw where an application parses XML input that can include special instructions to fetch local files or make network requests. Here, the API accepted XML for validation and did not disable these features, so an attacker could make the server read files or contact internal systems.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More by thomasito

View all

1 more disclosed report, best first.

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.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.