Skip to content
RCE Write-up Beginner

How I Spent 30 Days Chasing a $40,000 Bug Bounty And What I Learn

The author believed they had found an unauthenticated remote code execution vulnerability in an AXIS camera, but the commands were actually executed locally on their own machine due to double quotes in a curl command. The camera's apparent offline status was coincidental, and the report was rejected.

Hacker MD Follow

Published on infosecwriteups.com

I want to tell you a story that most bug hunters won’t share publicly — not because it’s about a successful $40,000 payout, but because it ended in rejection. And the lessons I learned were worth far more than any bounty.

Hacker MD, on infosecwriteups.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

The researcher used double quotes in a curl command, causing the shell to evaluate the command substitution locally instead of sending it literally to the target.

What the attacker needed

Access to the camera's web interface; a bug bounty program accepting reports

The fix

The researcher should have used single quotes to send the payload literally and verified with a file creation test.

How it was found

  1. The researcher accessed the camera's web interface and found an unauthenticated CGI script.
  2. They sent a curl request with a User-Agent header containing a command in double quotes.
  3. The camera's web interface went offline, which they interpreted as the command executing on the camera.
  4. They sent a 'restore' command and the camera came back online, reinforcing their belief.
  5. They submitted a report claiming unauthenticated RCE.
  6. The triager could not reproduce and provided evidence that the commands executed locally.

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.

This is a story about a security researcher who thought they found a serious bug in a camera, but they made a mistake in how they tested it. They used double quotes in a command, which made their own computer run the code instead of the camera. So the camera was never actually hacked, and the report was rejected.

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 Hacker MD

View all

12 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.