Skip to content
SQL injection Disclosed report Intermediate

Unauthenticated SQL injection *.nasa.gov

An unauthenticated SQL injection existed in NASA's ArcGIS queryAnalytic endpoint because the analyticWhere parameter was not filtered. An attacker could run arbitrary PostgreSQL expressions, confirmed through time-based and boolean-based techniques, and the database user had excessive privileges including INSERT, UPDATE, DELETE, TRUNCATE and CREATE.

Sleibe Follow

Originally disclosed on Bugcrowd

Critical View original
  • Accepted in 45 hours
  • Fixed in 2 months
  • Disclosed after 2 months

Summary by Sleibe

Unauthenticated SQL injection in NASA's ArcGIS queryAnalytic endpoint, allowing arbitrary PostgreSQL expression execution through the unfiltered analyticWhere parameter. Confirmed time-based and boolean-based SQL injection, PostgreSQL fingerprinting, and excessive database privileges, including INSERT, UPDATE, DELETE, TRUNCATE, and CREATE.

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

This report is short, so there is no separate rewrite of it: the Original tab has it in full. Read the original.

How it worked

Root cause

Likely the analyticWhere parameter was concatenated into a PostgreSQL query without parameterisation or input validation.

Impact

An unauthenticated attacker could execute arbitrary PostgreSQL expressions and, because the database user had INSERT, UPDATE, DELETE, TRUNCATE and CREATE privileges, could potentially read, modify or destroy data.

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.

This report is short, so there is no separate rewrite of it: the Original tab has it in full. Read the original.

SQL injection is when user input is placed into a database query without being treated as data, so an attacker can change the query's meaning. Here the analyticWhere parameter was passed straight into a PostgreSQL query, letting an unauthenticated attacker ask the database true/false questions or make it pause. The database account also had far more rights than a read-only query should need.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

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.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.