Skip to content
Cache bugs Write-up Intermediate

Cache Poisoning: How We Analyzed $44K in Bug Bounties

The article describes multiple cache poisoning vulnerabilities across various platforms, where attackers could manipulate cached responses to cause denial of service, cross-site scripting, or other impacts. It aggregates real-world bug bounty reports, including techniques like path manipulation, header injection, cookie poisoning, and request smuggling.

Aacle Follow

Published on medium.com

Free Read : here

Abhishek meena, 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, the root cause is that caching layers and origin servers process inputs (like headers, cookies, or URL paths) differently, and some inputs that affect the response are not included in the cache key, allowing an attacker to poison the cache.

Impact

Cache poisoning can lead to denial of service, cross-site scripting, and potentially account takeover, affecting many users simultaneously.

What the attacker needed

Caching layer present; unkeyed input influencing response; ability to send crafted requests

The fix

The article suggests including security-relevant headers in cache keys, validating headers, and using cache-control directives to prevent poisoning.

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.

Cache poisoning is when an attacker tricks a website's cache (a storage layer that keeps copies of pages to serve them faster) into storing a malicious or broken version of a page. Then, when other users visit that page, they receive the attacker's version instead of the real one. This can break the site for everyone or even run malicious code in visitors' browsers.

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.

More by Aacle

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Web cache poisoning and deception

The lesson behind this report.

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.