Lion Cipher Lab

Exploit an unauthenticated Redis in your own lab

Why it matters

Exposed, unauthenticated data stores are not an exotic finding — they are one of the most common serious findings on the entire internet, and Redis is the poster child. Redis is an in-memory data store: blisteringly fast, beloved for caching, queues and session storage, and for most of its life it shipped with no authentication at all, on the explicit assumption that it would only ever be reachable from trusted machines on a trusted network. That assumption is where the trouble starts. A developer runs Redis on localhost where it is genuinely safe, copies the same configuration onto a server,…

What you'll learn

Steps in this lab

  1. What Redis is, and what 'unauthenticated' actually means here
  2. Build the isolated lab: two containers, one private network, your machine only
  3. Confirm unauthenticated access — the finding, from the attacker container
  4. The classic foothold: CONFIG SET dir + SAVE, on your own lab box only
  5. Why the default is safe — and why exposed stores still happen anyway
  6. The fix, part 1: require a password (or, better, an ACL user)
  7. The fix, part 2: defence in depth — mode, bind, user, renamed commands
  8. Do it better — how to recognise, report, and prevent the exposed store

Open the full interactive lab →