From Novice to Ninja: Unraveling Bug Bounty Beginnings through Cache Poisoning
The author found web cache poisoning vulnerabilities in several caching servers by sending malformed headers that caused error responses to be cached. This could allow an attacker to poison the cache and serve malicious or incorrect content to other users.
Published on cametom006.medium.com
I dived into the exciting world of bug bounty hunting, and I couldn’t have made it this far without the incredible support of the bug bounty community. As I begin sharing my experiences, I want to extend my heartfelt thanks to everyone who has been a part of this journey with me.
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 the caching servers did not properly validate or normalise request headers, allowing malformed headers to trigger error responses that were then cached.
What the attacker needed
Ability to send crafted HTTP headers; vulnerable caching server
The fix
The issues were fixed by the Ruby on Rails and Akamai teams after the vulnerabilities were reported.
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.
Web cache poisoning is when an attacker tricks a caching server into storing a harmful response, so other visitors receive it. Here, sending unusual headers made the server cache an error page, which could then be shown to many users.
What is Cache bugs?
A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.