In-depth lesson · Web cache poisoning
Root causes
Every point the Web cache poisoning reports back under this heading, best-backed first, each with the reports it is seen in.
-
The cache key omitted the X-Forwarded-Port and X-Forwarded-Host headers, so attacker-controlled values were cached and served to other users.
Seen in 1 report
-
$2,500 Medium
-
-
A frontend caching configuration trusted request boundaries inconsistently, letting a smuggled request poison the cache with a redirect.
Seen in 1 report
-
The cache did not properly validate or normalise the Transfer-Encoding header, allowing a malformed request to poison the cached response for a resource.
Seen in 1 report
-
$9,700 Medium
-
-
The edge cache did not include the Origin request header in its cache key, so a response tailored to one origin was served to requests from other origins.
Seen in 1 report
-
The application used the X-Forwarded-Host header to generate absolute URLs without validating it, and the cache stored the response without that header in the cache key.
Seen in 1 report
-
The application used the untrusted Host header to build absolute URLs in the page and the response was cached without the Host header being part of the cache key.
Seen in 1 report
-
The cache server treated backslashes and forward slashes as equivalent while the origin returned 404 for backslash paths, letting a 404 be cached for a legitimate file.
Seen in 1 report
-
The regular expression parsing the Amazon product URL did not normalise or reject path traversal sequences, allowing a crafted URL to be cached under a different product's key.
Seen in 1 report