Why “Out of Scope” Doesn’t Always Mean “Out of Impact”
An API endpoint that served cached content did not include all request inputs in its cache key, allowing an attacker to poison the cache. The poisoned response was then served to authenticated users, potentially exposing internal service paths and architecture details.
infosecwriteups.com
Published on infosecwriteups.com
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
Impact
An attacker could influence the content served to authenticated users and observe internal behaviour patterns at scale, though the text does not claim full account takeover or direct data theft.
What the attacker needed
Access to the out-of-scope endpoint; ability to send crafted requests; victim visits or uses the affected component
How it was found
- Observe that certain request metadata influenced values returned in the JSON response.
- Send a request that alters response metadata, then immediately send a clean request.
- Notice that the modified response persisted, indicating the cache key did not account for all inputs.
- Trace where the endpoint is used and find that the data feeds into a component visible to authenticated users.
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 like a shortcut that stores a copy of a web page so it loads faster for everyone. If the cache decides what to store based on only some of the details of a request, an attacker can sneak in extra details that change the page but are ignored by the cache. This means the attacker's altered page gets saved and shown 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.