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.
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.
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
- The researcher accessed the camera's web interface and found an unauthenticated CGI script.
- They sent a curl request with a User-Agent header containing a command in double quotes.
- The camera's web interface went offline, which they interpreted as the command executing on the camera.
- They sent a 'restore' command and the camera came back online, reinforcing their belief.
- They submitted a report claiming unauthenticated RCE.
- 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.