Skip to content
Info disclosure Disclosed report Beginner

SQL error received with database information, database table & database driver query information

A SQL error response exposed Oracle database details, REST API information, server information, stored procedure details, database tables and connection strings. An attacker could use this disclosed information to plan further attacks against the organisation.

PuneetLucknowi Follow

Originally disclosed on Bugcrowd

Informational View original
  • Disclosed after 2.5 years

Summary by PuneetLucknowi

The sql error discloses all the oracle database & REST api information, server information, information around stored procedure, database table & connection strings. This is very critical information to an organization.

So, it is advisable to handle this sql error immediately on priority basis so attacker won't be able to capture these information.

The original report as published on Bugcrowd, by PuneetLucknowi. 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 application returned raw database error messages to the user instead of handling them and showing a generic error.

Impact

An attacker could learn database structure, stored procedure details and connection strings, which may help them plan further attacks; the text does not show exploitation beyond the disclosure.

What the attacker needed

Ability to trigger a database error

The fix

The application should catch database errors and return a generic error message, and detailed errors should be logged server-side only.

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.

When a website talks to a database and something goes wrong, the database can send back an error message. If the website shows that raw error to the visitor, it can reveal internal details such as table names and connection strings. Here, the error message was displayed and leaked this internal information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by PuneetLucknowi

View all

2 more disclosed reports, best first.

More from US Environmental Protection Agency Vulnerability Disclosure

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.