In-depth lesson · Web cache deception
Root causes
Every point the Web cache deception reports back under this heading, best-backed first, each with the reports it is seen in.
-
The caching helper compares the raw request URI against a fixed path string, so any variant the CMS still resolves to the same page fails the match and skips the no-cache headers.
Seen in 1 report
-
Preview responses were cached without respecting no-cache headers and without invalidating the cache when content visibility changed.
Seen in 1 report
-
The cache classified responses as cacheable solely on the URL extension without checking the actual content type.
Seen in 1 report
-
The raw endpoint did not set cache-control headers to prevent caching, so the CDN stored the response.
Seen in 1 report
-
The caching layer treated the API response as cacheable and keyed it on a user-supplied query parameter without marking personalised responses as private.
Seen in 1 report
-
The cache and the origin disagreed on how to interpret the URL path, so the cache treated a dynamic profile page as a static file.
Seen in 1 report
-
The origin ignored extra path segments and served the private page, while the cache keyed on the full URL including the static-looking extension.
-
The framework applied a long-lived cache header to any URL ending in a static extension even when the body was private API data.
Seen in 1 report
-
The cache layer and the origin used different URL parsing and canonicalisation rules, so the cache saw a static resource while the origin normalised back to the authenticated API.
-
The controller set a public cache expiration without varying the cache key by cookie, so session-specific responses were cached and shared.
-
Different HTTP servers and caches parse URLs inconsistently, especially around delimiters and normalisation, which enables path confusion.
Seen in 1 report
-
The cache key included a user-controlled reqIdentifier parameter, letting an attacker force caching of a dynamic GraphQL response containing PII.
Seen in 1 report
-
The cache stored files by extension while disregarding HTTP caching headers, and the server returned dynamic page content for a URL ending in a static extension.
Seen in 1 report
-
The cache rule matched the URL path before decoding while the backend decoded and resolved path traversal, so authenticated responses were cached under a public-looking URL.
Seen in 1 report