Skip to content
Info disclosure Write-up Beginner

How I Found a $3,000 Bug Using Just Recon

A publicly accessible subdomain exposed a configuration file containing a hardcoded database root password and internal host details. An attacker could use these credentials to access production systems, though the report does not confirm actual exploitation.

zinolioncity Follow

Published on medium.com

As a penetration tester, I’ve learned that the most critical phase of any engagement — or bug bounty hunt — is reconnaissance. It’s where the quiet magic happens.

cybervolt, on medium.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 a misconfiguration where a sensitive configuration file was left publicly accessible on a subdomain without proper access controls.

Impact

The exposed credentials could allow an attacker to access internal systems and potentially compromise the production database, though the report does not confirm actual exploitation.

What the attacker needed

Public bug bounty program; subdomains in scope; no authentication needed

The fix

The file was removed and all affected secrets were rotated.

How it was found

  1. Gather subdomains using passive reconnaissance tools.
  2. Probe the subdomain to confirm it is live.
  3. Perform directory enumeration to find hidden files.
  4. Access the exposed configuration file and note its contents.

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 a hidden web page that anyone could find, and it accidentally showed a file with a secret password for their database. If a bad person found it, they might be able to break into the company's systems. The company fixed it by removing the file and changing the password.

What is Info disclosure?

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

More by zinolioncity

View all

1 more disclosed report, 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.