Skip to content
Cache bugs Write-up Intermediate

I Wasn’t Looking at the Target — I Was Watching the Hackers F

The author found an endpoint that returned dynamic JSON with metadata and debug identifiers, and whose responses were cached at the edge without a strict cache key. By varying requests, they observed that a response generated in one context was served in another, exposing non-public metadata and debug identifiers.

iski Follow

Published on infosecwriteups.com

Free Link🎈

Iski, on infosecwriteups.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 edge cache used a weak cache key that did not account for request variations, causing dynamic responses to be cached and served across contexts.

Impact

Sensitive metadata and debug identifiers could be exposed to unauthorised users, potentially leading to further information disclosure.

What the attacker needed

None

How it was found

  1. Perform recon to find endpoints with caching headers and loose cache control.
  2. Map cache behaviour by testing header influence, protocol variations, and content negotiation.
  3. Vary requests and compare responses to detect cache hits and context mixing.
  4. Confirm that a response from one context is served in another, exposing metadata and debug identifiers.

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 cache is a fast storage layer that keeps copies of responses to serve them quickly. If the cache does not distinguish between different users or request contexts, it can serve one person's private response to someone else. Here, the author found that responses containing internal metadata and debug identifiers could be served to other 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.

More by iski

View all

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