How I Found a $5,500 Bug Using Just Reconnaissance
A publicly accessible internal dashboard exposed a configuration file containing production database credentials and AWS keys. An attacker could use these secrets to access the production database and cloud resources.
infosecwriteups.com
Published on infosecwriteups.com
Most bug hunters rush straight to exploitation techniques. Flashy payloads, complex attacks, advanced tools.
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 internal dashboard was mistakenly made publicly accessible and contained a configuration file with hardcoded production credentials and cloud keys.
Impact
The exposed credentials could allow an attacker to access the production database and AWS cloud resources, potentially leading to data breach or cloud takeover.
What the attacker needed
None
The fix
The file was removed and all affected credentials were rotated.
How it was found
- Enumerate subdomains of the target domain using tools like Subfinder and Amass.
- Probe discovered subdomains with httpx to find live hosts and their titles.
- Perform directory brute-forcing with ffuf on the internal dashboard host.
- Discover and access the exposed admin-config.json file containing secrets.
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 private-looking web page that anyone on the internet could open. That page had a file with passwords and cloud access keys written in plain text. Anyone who found the page could read those secrets and potentially break into the company's systems.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.