Skip to content
Cache bugs Write-up Beginner

The $500 Cache Trick: How I Turned Cache Deception into Cold, Hard Cash!

The author found that a web application cached detailed error pages containing debug information when a non-existent article was requested with an unexpected parameter. An attacker could potentially access sensitive information from these cached pages.

osintteam.blog

Published on osintteam.blog

Ever wondered how a simple caching glitch could earn you a tidy $500 bounty? In this blog, I share my personal adventure into the world of cache deception — a subtle yet powerful exploit that turned a routine test into an unexpected payday.

Krish_cyber, on osintteam.blog

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 server cached error responses that contained debug information instead of serving a generic error page and not caching it.

Impact

Cached debug information could be exposed to any subsequent visitor, potentially leaking sensitive details about the application.

What the attacker needed

None

The fix

The application should be configured to avoid caching error pages and to not include debug information in error responses.

How it was found

  1. Request a non-existent article with an unexpected parameter.
  2. Observe that the server returns a detailed error page with debug information.
  3. Notice that this error page is cached and served to subsequent visitors.

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.

When a website caches a page, it stores a copy to serve to other visitors quickly. Here, the site accidentally stored an error page that revealed internal debugging details, so anyone who later visited that same address could see those details. This is called cache deception: tricking the cache into storing private or sensitive content.

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.

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.