Skip to content
RCE Write-up Beginner

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.

ekenejosepha1 Follow

Published on medium.com

When people think of big bug bounties, they imagine zero-days, browser exploits, or chained RCE attacks.

Mr Smith Austin, 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 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

  1. Enumerate subdomains and find live hosts.
  2. Scan the suspicious subdomain with Nmap to find an open port and service version.
  3. Visit the hidden port and discover an unauthenticated admin dashboard.
  4. 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.

More by ekenejosepha1

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.