How I Earned $1,752 Using Just Nmap: A Bug Bounty Recon Success
An internet-facing development server on a non-standard port exposed a downloadable backup archive containing source code, configuration files with hardcoded credentials and an environment file holding cloud keys. An attacker who found it could obtain admin access and reach internal APIs that were not meant to be public.
Published on medium.com
In the world of bug bounty hunting, there’s often a rush to jump straight into fuzzers, Burp Suite, or fancy automation. But on one particular hunt, I scored $1,752 from a critical vulnerability — and my only tool was Nmap.
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 backup archive containing secrets was left in a web-accessible directory on an exposed development server that had no access restrictions.
Impact
The exposed archive gave the hunter admin credentials and access to internal APIs, and the program paid a bounty for the chained impact.
What the attacker needed
Internet access to the dev subdomain; no account needed
The fix
The backup archive and secrets should be removed from the web root, credentials and keys rotated, and the development server restricted to trusted networks.
How it was found
- Scan the target subdomain with Nmap service and default script detection.
- Notice port 8080 open running a Jetty HTTP server.
- Find a robots file and a backup archive referenced in the scan output.
- Download and unpack the archive to find source code, credentials and cloud keys.
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 backup archive of a website was left on a server that anyone on the internet could download. Inside it were passwords and cloud access keys, so a stranger could log in as an administrator and reach internal systems. The lesson is that forgotten files on exposed servers can be as damaging as a software flaw.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.