Cache Deception | 450$
A CV download endpoint could be tricked into being cached as a static file by appending a .css or .js suffix to the URL. An attacker could then request the same URL and retrieve another user's cached CV.
medium.com
Published on medium.com
Web cache deception is a vulnerability that enables an attacker to trick a web cache into storing sensitive, dynamic content. It’s caused by discrepancies between how the cache server and origin server handle requests.
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 decided what was static based on the URL extension, while the origin server still returned the private CV, so the two disagreed about the request.
Impact
Another user's CV could be disclosed to anyone who requests the crafted URL while the response remains cached.
What the attacker needed
Victim downloads CV via crafted URL; cache stores the response
How it was found
- Open the CV download endpoint for your own account.
- Append a static-looking suffix such as .css or .js to the URL.
- Download your CV through that modified URL so the cache stores it.
- Request the same URL again (or have another user open it) to receive the cached CV.
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.
Websites often use a cache to store copies of pages so they load faster. This site's cache treated a private CV download link as if it were a public file just because the URL ended in .css or .js. That meant one person's CV could be saved and then shown to anyone else who opened the same link.
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.