Why I Thought I Found a Zero-Day: The False Positive Trap in Bug Bounty
The author believed they had bypassed an AWS WAF using a path traversal payload containing URL fragments, but the tool curl stripped the fragment locally, so the actual request was harmless and the WAF was never bypassed. The submission was marked informational because no vulnerability existed.
If you spend enough time staring at a terminal, hunting for vulnerabilities on hardened domains, your eyes start to play tricks on you. You start seeing zero-days where there are none.
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 author's tool (curl) correctly followed the URL standard by stripping the fragment identifier before sending the request, so the malicious payload never reached the server.
Impact
No vulnerability existed; the WAF functioned correctly and the request was harmless, so there was no security impact.
What the attacker needed
None
How it was found
- Send a path traversal request to read web.xml and observe a 403 from the WAF.
- Insert URL fragments between traversal sequences and send the request again.
- Observe a 200 OK response from Apache Tomcat and assume the WAF was bypassed.
- Submit a report to Bugcrowd, which is later marked informational.
- Investigate locally and realise curl stripped the fragment, so the actual request was just GET /images/../.
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 URL fragment is the part after a # symbol, used by browsers to jump to a section of a page. The author thought they could sneak a path traversal past a firewall by hiding it after a #, but the command-line tool they used (curl) follows the rule that fragments are never sent over the network, so it removed the hidden part before sending the request. The firewall only saw a harmless request and allowed it, making the author think they had found a bug when they had not.