Skip to content
Info disclosure Disclosed report Beginner

████████ ████████ Server Full Exposure with Database Credentials

The web server had directory listing enabled, exposing the entire file structure including database credentials, full website backups, and sensitive internal documents. An attacker could use the exposed credentials to access the database and steal customer PII, source code, and internal documents.

lazyar Follow

Originally disclosed on HackerOne

Critical View original
  • Disclosed after 3 months

I discovered that the ████████ ████████ web server (████████) has directory listing enabled, exposing the entire file structure including database credentials, full website backups, and sensitive internal documents. https://████████/ ████████ ████████

Impact

Database compromise - Working credentials grant full read/write access to ████████'s database containing customer PII Complete source code theft - 69MB backup file contains entire website code Customer data exposure - Uploads directory may contain sensitive user information Admin panel accessible - Attackers can target admin.php for brute force Business logic/IP theft - Internal documents and source code exposed Regulatory violations - GDPR/CCPA non-compliance due to exposed PII

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

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 web server was misconfigured to allow directory listing and sensitive files were stored in a publicly accessible directory.

Impact

Working credentials could grant full read/write access to the database containing customer PII, and the exposed backup and documents could lead to source code theft and regulatory violations.

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.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Directory listing is a server setting that shows all files in a folder when no index page exists, like leaving a filing cabinet open. Here it revealed a backup file containing database passwords, so anyone could download the whole site and its secrets. That could let an attacker read or change customer data.

What is Info disclosure?

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

More from Essity

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.