Skip to content
Cache bugs Write-up Intermediate

From “Nothing Interesting” to Critical Impact: The Power of R

An internal session context endpoint was cacheable and accepted an unkeyed header that changed the returned user context to internal. An attacker could poison the CDN cache so other users received internal feature flags and debug permissions, leading to cross-user data exposure.

iski Follow

Published on medium.com

Free link 🎈

Iski, 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 cache key did not include a header that the backend trusted, allowing cache poisoning.

Impact

The poisoned cache could expose email addresses, internal user IDs, and account metadata to other users, and enable debug mode and support-level permissions.

What the attacker needed

Access to the internal endpoint; ability to send custom headers; cacheable endpoint

How it was found

  1. Find the internal session context endpoint in historical traffic.
  2. Notice the endpoint is cacheable and returns a session context cookie.
  3. Send a request with an unkeyed header to change the response to internal context.
  4. Observe the response is cached and publicly reusable.
  5. Access downstream endpoints that trust the context cookie to retrieve user data.

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 web cache stores responses to serve them faster to many users. Here, a page meant for internal use was stored in a shared cache, and a special header could change what it returned. An attacker could make the cache store a response that gave extra permissions, and then other users would get that same response.

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.

More by iski

View all

186 more disclosed reports, best first.

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.