Web Cache Entanglement: Novel Pathways to Poisoning

Presented at Black Hat USA 2020 Virtual, Aug. 5, 2020, 11 a.m. (40 minutes)

Caches are woven into websites throughout the net, discreetly juggling data between users, and yet they are rarely scrutinized in any depth. In this session, I'll show you how to remotely probe through the inner workings of caches to find subtle inconsistencies, and combine these with gadgets to build majestic exploit chains.

These flaws pervade all layers of caching - from sprawling CDNs, through caching web servers and frameworks, all the way down to fragment-level internal template caches. I'll demonstrate how misguided transformations, naive normalization, and optimistic assumptions let me perform numerous attacks including persistently poisoning every page on an online newspaper, compromising the administration interface on an internal DoD intelligence website, and disabling Firefox updates globally.

As usual, I won't waste your time talking about known techniques. When I presented 'Practical Web Cache Poisoning' in 2018, I targeted a design flaw in the caching concept. This time around I'll dive straight into implementation flaws, ensuring things get much, much messier, resulting in some of the riskiest, most hard-to-find attack techniques yet. Alongside an array of cache-attack techniques, you'll take away methodology and open-source tooling to tackle these technical challenges with confidence.


Presenters:

  • James Kettle / albinowax - Director of Research, PortSwigger Web Security   as James Kettle
    James 'albinowax' Kettle is the Director of Research at PortSwigger Web Security, where he explores novel attack techniques, and designs and refines vulnerability detection techniques for Burp Suite's scanner. James has extensive experience inventing and sharing new web attacks, including HTTP desync attacks, server-side RCE via template injection, client-side RCE via malicious formulas in CSV exports, and abusing HTTP headers to poison password reset emails and server-side caches. He has spoken at numerous prestigious venues including Black Hat USA and EU, OWASP AppSec USA and EU, and DEF CON.

Links:

Similar Presentations: