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.
Free Link🎈
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
- Perform recon to find endpoints with caching headers and loose cache control.
- Map cache behaviour by testing header influence, protocol variations, and content negotiation.
- Vary requests and compare responses to detect cache hits and context mixing.
- 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.