NASA LSDA/NLSP Data Platform Allows Unauthenticated Write to Production Elasticsearch Cluster
A NASA science data platform's data-ingestion API accepted write requests from unauthenticated users on some models, even though an access control layer correctly denied anonymous writes on another model. An attacker could create records in a production Elasticsearch cluster without logging in, and the readable schemas supplied the field names needed to build a valid request.
Originally disclosed on Bugcrowd
- Accepted in 39 hours
- Fixed in 4 months
- Disclosed after 6 months
Summary by spectreghost
A NASA science data platform exposed data-ingestion API endpoints that accepted write operations from unauthenticated users.
The platform implemented an access control layer that correctly identified anonymous requesters as having no write permission, and that layer was enforced on some resources — an anonymous write to one model returned HTTP 403 with an explicit authorization denial. The same anonymous requester, however, could write to other models on the ingestion path, where the authorization check was never reached. Requests that failed did so on field validation rather than authentication, confirming there was no authentication boundary in front of the write handler.
I demonstrated the issue non-destructively by creating clearly marked test records containing no real or sensitive data. No existing records were modified or deleted, and no restricted data stores were accessed. All test records were reported for cleanup and removed.
A second, related finding was that the platform's data model schemas were readable without authentication, which supplied the field names required to construct a valid write request.
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 authorisation check was applied to only some ingestion models, so other write handlers on the ingestion path never reached the access control layer.
Impact
An unauthenticated attacker could write records into a production Elasticsearch cluster, though the reporter only created clearly marked test records and did not modify or delete existing data.
What the attacker needed
No account needed; knowledge of model field names
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.
An API is the door programs use to talk to a service. Here some doors let anyone add new records without proving who they are, even though a guard existed on one door and turned people away. The schemas, which are like blank forms listing the fields, were also open, so anyone could learn how to fill in a valid request.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.