Lion Cipher Lab

Exploit an exposed Docker Engine API in your own lab

Why it matters

An exposed Docker Engine API is one of the highest-severity findings you can trip over on the internet, and it comes from the same one human mistake as an exposed database — a service that is safe locally gets put on a network without the protection that move demands. Docker is the tool most teams use to run applications in CONTAINERS (lightweight, isolated packages of software). The thing actually doing the work is a background service called the DOCKER DAEMON, or `dockerd`, and you control it through the DOCKER ENGINE API — a REST API (an interface you drive with ordinary HTTP requests)…

What you'll learn

Steps in this lab

  1. What the Docker daemon and Engine API are, and why reaching them is root
  2. Build the isolated lab: a Docker-in-Docker 'victim host', your machine only
  3. Confirm unauthenticated control — the finding, two ways
  4. The escalation: mount the host filesystem = root on the host (victim container only)
  5. Why the default is safe, how this differs from the socket-escape lab, and why it still happens
  6. The fix: don't publish it — or use SSH / mutual-TLS, then measure
  7. Do it better — how to recognise, report, and prevent the exposed daemon

Open the full interactive lab →