~/talk

Cache Key Injection Smuggling Poison Through the Door

Talkat DEF CON 34 · 2026-08-06..08-09· [security, web-platform]
links:none on file
slides:none on file

Demonstrates that attacker-controlled values inside Nginx proxy cache keys (examples: proxy_cache_key including Accept or Cookie) let an attacker create key collisions that yield CPDoS (404s cached over real pages), cache deception (sensitive pages retrievable without interaction), and a novel stored XSS chain using host header injection plus identical HTTP/HTTPS responses. Shows CDN bypass using an Authorization header to bypass edge and confirms exploits against a test Nginx origin. Recommends robust fixes: hash each fragment and combine (Varnish-like per-fragment hashing resists these attacks).

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:09What is web cache
  3. 3:53Cache key basics in Nginx
  4. 4:56Cache key injection explained
  5. 6:00Web cache deception demo
  6. 8:47Cache poisoning DoS attack
  7. 11:44Bypassing CDN cache to Nginx
  8. 14:34Stored XSS via cache key
  9. 20:15Mitigation techniques
  10. 21:17Conclusion and research call
  11. 21:41Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.