ESCALATED `f8f98208-efd6-4dfd-984c-2d8fae11ac19` informative report from blind ssrf to arbitrary FILE READ
Three MMGIS endpoints on a NASA host passed a client-supplied path directly into GDAL's dataset open function without validation or authentication. Because GDAL accepts inline VRT XML and VRT can map raw file bytes to pixel values, an anonymous attacker could read any local file the process could open.
National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program
Originally disclosed on Bugcrowd
- Accepted in 5 hours
- Fixed in 56 days
- Disclosed after 2 months
Summary by persvr
Three MMGIS endpoints on maia-mmgis.jpl.nasa.gov pass a client-supplied path value directly into gdal.Open() with no validation and no authentication. GDAL accepts inline VRT XML as a dataset name, and VRT's VRTRawRasterBand maps the raw bytes of an arbitrary local file onto pixel values. POST /api/utils/getprofile returns pixel values in its response.
Chaining those two facts turns the endpoint into a direct read of any file the MMGIS process can open, by an anonymous internet user.
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 endpoint passed untrusted input straight to GDAL without validating the path or restricting the dataset format, allowing inline VRT XML to define an arbitrary local file as a raster source.
Impact
An anonymous internet user could read any file the MMGIS process could open, which may expose sensitive local data.
What the attacker needed
No authentication required; network access to the endpoint
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.
The web app let a visitor tell it which file to open, and it did not check that the file was safe or that the visitor was allowed to ask. The file-reading library it used can be tricked into treating a crafted text description as a map of any file on the server, and the app then returned that file's contents as image pixel values. This meant an anonymous person on the internet could read files on the server.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.