Skip to content
Cache bugs Write-up Intermediate

Just One Click To Leak All Victim Information

A dynamic endpoint that returned organisation and billing details could be cached by the CDN when a fake static file extension was appended to the URL. An attacker could send a victim a crafted link and then retrieve the cached response, exposing the victim's email, billing information, organisation ID, CSRF token and project list.

medium.com

Published on medium.com

I started exploring the target application to understand its structure and behavior While analyzing it with Wappalyzer, I noticed that the site was using Cloudflare as a content delivery network (CDN) This immediately led me to consider a potential Web Cache Deception Bug , since Cloudflare is known for its heavy…

Mado, on medium.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 CDN treated URLs ending in static file extensions as cacheable without checking whether the response contained private, per-user content.

Impact

A single victim click could cause their billing details, email, CSRF token and project list to be cached and then read by any attacker requesting the same path, though the report notes the finding was closed as a duplicate.

What the attacker needed

Victim clicks a crafted link; CDN caches responses by file extension

How it was found

  1. Append a fake static extension such as .css to a dynamic endpoint and confirm it returns 200 with private data.
  2. Remove the organisation ID from the URL and observe the redirect to the projects endpoint.
  3. Check Burp history to confirm the projects endpoint returns organisation and personal details.
  4. Send the request again with the victim's extension to the endpoint and observe the large cached response.

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 put a caching layer in front of them so pages load faster for everyone. If that layer decides a page is safe to share just because its address ends in something like .css, it can store a logged-in user's private page and hand it to anyone who asks for the same address. The attacker only needs the victim to open a link once.

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.

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.