Lion Cipher Lab

Steal a victim's private data with web cache deception — then fix the path-mapping mismatch

Why it matters

Web cache deception has leaked real users' account pages, API keys, and CSRF tokens on major sites, and it needs no XSS and no injected payload — just a URL a victim clicks while logged in. It hides in the seam between two systems that each behave 'correctly' on their own: a CDN/cache that caches by file extension, and an app framework that ignores the extension and serves the private page anyway. Once you have seen the mismatch with your own eyes, you will spot it in architecture reviews and know the handful of configuration choices that close it for good.

What you'll learn

Steps in this lab

  1. Deception vs poisoning — get the direction straight
  2. Build the lab: a caching proxy in front of an authenticated app
  3. Wire up the cache and start it
  4. Confirm the honest behaviour first
  5. Craft the deception URL and have the victim load it
  6. Steal it back with no cookie at all
  7. Fix it — and know why the cheap fixes are traps
  8. Re-prove the fix, then tear it down

Open the full interactive lab →