Poisoned Pipeline / Incidents / AS491

AS491 · 2017-02

A Cloudflare edge parser bug returned other customers' memory, including cookies and tokens, in HTTP responses

CDN / web assets

On 17 February 2017 Tavis Ormandy of Google Project Zero reported that some
Cloudflare edge responses contained corrupted HTML and memory from other
requests. A parser chain used by email obfuscation, Server-side Excludes and
Automatic HTTPS Rewrites could read past the end of a buffer and return memory
containing cookies, authentication tokens and POST bodies; some leaked pages had
been cached by search engines. Cloudflare turned the three features off within
47 minutes and finished the global fix in under seven hours. The greatest impact
was between 13 and 18 February, at roughly one in every 3,300,000 requests.
Cloudflare said customer SSL private keys were not exposed and found no evidence
of malicious exploitation. It was reported as a Cloudflare bug, not a
supply-chain incident. The modern reading is a third-party edge provider that
terminates and can leak every customer's traffic.

Mapped techniques

supply-chain Cloudflare edge HTML parser

T0199 · Impact · Secret leak

Responses returned adjacent memory containing cookies, tokens and POST
bodies from other customers' requests.

Framework gaps noted

Sources