Skip to content
Cache bugs Write-up Intermediate

From False Positive to Hall of Fame: Exploiting Web Cache Poisoni

A web cache poisoning flaw allowed an attacker to inject arbitrary text into cached pages served to other users. The attacker could manipulate high-traffic pages for phishing or defacement, though script execution was blocked by a WAF.

Vanshrathore Follow

Published on vanshrathorebughunter.medium.com

Juggling bug bounty hunting with my 3rd-year CSE coursework means I have to make every hunting session count. I’ve always believed that relying solely on automated scanners builds a false sense of security — the real bugs are found when you step away from the automated tools and manually poke at the business logic.

Vanshrathore, on vanshrathorebughunter.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 caching plugin did not include a user-controlled parameter in the cache key, so a response containing that parameter's value was cached and served to other users.

What the attacker needed

No authentication needed; victim visits the poisoned URL

The fix

The site swapped its caching plugin and hardened its .htaccess configuration, and the vulnerability was confirmed remediated.

How it was found

  1. Send a request with a new cache-buster parameter and a benign text value in the content parameter.
  2. Confirm the response is cached and contains the injected text.
  3. Open a clean URL without the malicious parameter in a fresh browser session.
  4. View the page source and verify the injected text is present.

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.

Websites use caches to store copies of pages so they load faster for everyone. If a cache saves a page that includes something an attacker added, other visitors will see that added content too. Here, the site saved a page with the attacker's text because it didn't consider a certain parameter when deciding which page to save.

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 Vanshrathore

View all

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