Skip to content
Info disclosure Write-up Beginner

The Day Recon Alone Found The Vulnerability

A forgotten development subdomain was still live and served an open directory listing containing backup archives. Those archives held configuration files with database credentials, and the database port was reachable from the internet, so the credentials gave full database access without any exploit.

Fateyaly Follow

Published on systemweakness.com

Read here.

Fateyaly, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely an abandoned development environment was never decommissioned, backups were left in a web-accessible directory, and the database service was exposed to the internet.

Impact

Anyone who found the host could download the backups and use the leaked credentials to reach the exposed database, giving full database access; no defence is described as blocking this.

What the attacker needed

No account needed; target has a forgotten dev subdomain; database port reachable from internet

The fix

The old environment should be decommissioned, backups should be kept off the web server, and the database should not be reachable from the internet.

How it was found

  1. Enumerate subdomains passively from public sources and note an old development host.
  2. Check whether the host responds and look at the server and language versions in the response headers.
  3. Fingerprint the stack and notice open directory indexing.
  4. Browse the exposed directories and find publicly downloadable backup archives.
  5. Download a backup and find configuration files and a database dump inside.
  6. Scan for open ports, find the database port exposed, and confirm the credentials from the backup work.

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 write-up has not been written yet. The Original tab links to the source.

A company had an old development website that nobody remembered to switch off. Its folders could be browsed by anyone, and one folder held backup files that included the password for the database. Because the database itself was reachable from the internet, that password was enough to read the whole database.

What is Info disclosure?

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

More by Fateyaly

View all

9 more disclosed reports, best first.

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.