Skip to content
SQL injection Disclosed report Intermediate

Blind Boolean-Based SQL Injection in label Parameter Allows Unauthenticated Database Enumeration

The label parameter of an unauthenticated REST endpoint was vulnerable to blind boolean-based SQL injection, allowing an attacker to infer query results character by character. This enabled extraction of the database username and enumeration of schema information without authentication.

martindios Follow

Originally disclosed on Bugcrowd

Critical View original
  • Accepted in 37 hours
  • Fixed in 54 days
  • Disclosed after 54 days

Summary by martindios

A blind boolean-based SQL injection vulnerability was identified in the label parameter of an unauthenticated REST endpoint. By injecting Oracle SQL boolean expressions into the parameter, it was possible to infer query results character by character through the presence or absence of content in the response body.

Using binary search over ASCII values, the database username was successfully extracted without authentication, confirming that arbitrary Oracle SQL expressions were being evaluated server-side. The technique allows enumeration of table names, column names, and row data accessible to the DB user, as well as database version and internal schema information.

The vulnerability was reported through the NASA Vulnerability Disclosure Program on Bugcrowd and has since been resolved by the NASA team.

The original report as published on Bugcrowd, by martindios. 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 label parameter was concatenated directly into an Oracle SQL query without parameterisation or input validation.

Impact

An unauthenticated attacker could extract the database username and enumerate table names, column names, row data, database version, and internal schema information accessible to the DB user.

What the attacker needed

None

The fix

The vulnerability was fixed, likely by parameterising the SQL query or validating the label input.

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.

A web application takes a value from the user and puts it directly into a database query without checking it. An attacker can send special database instructions that make the query return different results depending on whether a guess is true or false. By asking many yes/no questions, the attacker can slowly learn secret information such as the database username.

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.