Skip to content

In-depth lesson · Cache bugs

Year by year

What the disclosed Cache bugs reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 51 to 61 of 61

2019

1 point

Turned up less1

  1. The forwarded-header poisoning of generated JavaScript seen in 2018 is not repeated in the 2019 reports, which use X-Forwarded-Host on HTML pages instead.

    Seen in 2 reports

2018

7 points

New this year2

  1. Cache poisoning through forwarded headers such as X-Forwarded-Port and X-Forwarded-Host first appears in the disclosed reports.

    Seen in 1 report
  2. Using multi-byte UTF-8 characters to bypass length limits in cache poisoning first appears in the disclosed reports.

    Seen in 1 report

Kept working4

  1. Hunters poisoned caches by sending arrays of values in parameters copied into generated JavaScript, so the corrupted output was served for normal single-value requests.

    Seen in 1 report
  2. A URL-encoded NULL byte followed by a long string in a parameter copied verbatim into a generated JavaScript file broke iframe URLs in the cached file.

    Seen in 1 report
  3. Sending X-Forwarded-Port and X-Forwarded-Host headers to a cacheable URL caused redirects to an invalid port or host to be cached.

    Seen in 1 report
  4. Multi-byte UTF-8 characters that expand to many URL-encoded bytes bypassed a decoded-character length limit and still poisoned the cached file.

    Seen in 1 report

Turned up less1

  1. The path-manipulation cache deception seen in 2017 is not repeated in the 2018 reports, which focus on cache poisoning.

    Seen in 1 report

2017

3 points

Kept working3

  1. Hunters found that adding a plus, minus or dot before a path on dynamic cart or checkout pages could drop no-cache headers and set cart cookies, exposing cached personal data.

    Seen in 1 report
  2. Varying a JSONP callback on a search widget preview endpoint returned cached results for users who had later gone private or deleted content.

    Seen in 1 report
  3. A crafted URL that made the server redirect to itself with an added trailing slash was cached as a redirect loop for all visitors.

    Seen in 1 report