How Nmap Helped Me Land My First $2,000 Bug Bounty (Beginner-Friendly Pentest Story)
An unauthenticated admin dashboard on a non-standard port exposed system environment variables, Docker logs, and a form that allowed command execution. An attacker could run arbitrary commands as root inside a container.
Published on medium.com
When people think of big bug bounties, they imagine zero-days, browser exploits, or chained RCE attacks.
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 development tool was exposed to the internet without authentication and included a feature that executed user-supplied commands.
Impact
An attacker could execute commands as root within a container, but the text notes it was a dev environment and access was limited to the container.
What the attacker needed
Public bug bounty program; target has a forgotten dev tool
How it was found
- Enumerate subdomains and find live hosts.
- Scan the suspicious subdomain with Nmap to find an open port and service version.
- Visit the hidden port and discover an unauthenticated admin dashboard.
- Submit a command in the form field and observe the output.
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 forgotten internal tool left open on the internet without a password. The tool had a form that let anyone run commands on the server, which is like leaving a terminal open for anyone to use.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.