The Database Was Sold Online… but the Vulnerability Was Still O
An export endpoint returned preview data that was cached publicly, and the cache key did not include request headers that influenced the response, allowing cache poisoning. An attacker could inject content that was stored and served to other users, and internal hostnames leaked, leading to a staging environment.
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 cache key did not include request headers that the backend used to generate dynamic content, causing a mismatch between stored and served responses.
Impact
The issue could expose internal infrastructure details and allow cache-stored content to affect multiple users, with a realistic path toward account compromise if chained.
What the attacker needed
Access to the export endpoint; ability to send custom headers
How it was found
- Map subdomains and filter live hosts, focusing on assets, exports, or previews.
- Find an export endpoint that returns structured preview data.
- Observe response headers indicating public caching with a long lifetime.
- Notice that parts of the response are dynamically generated based on request headers.
- Test variations in headers and observe that certain values affect how links are rendered.
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 shared noticeboard that stores copies of web pages to serve them faster. If the server builds a page using information from the visitor (like a header) but the cache doesn't consider that information when storing the page, one visitor's version can be shown to everyone else. This is called cache poisoning, and it can let an attacker make other users see malicious 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.