Lion Cipher Lab

Deploy a web shell to Apache Tomcat Manager in your own lab

Why it matters

Apache Tomcat is one of the most widely deployed application servers on earth — it is the Java servlet engine sitting behind an enormous share of internal web apps, admin consoles, vendor appliances and forgotten staging boxes — and its Manager application is the single most classic foothold a pentester meets on a Java stack. The Manager exists for a legitimate, everyday reason: it lets an administrator deploy, undeploy, start and stop web applications without touching the filesystem or restarting the server, either through a browser at /manager/html or, for scripts and CI pipelines, through…

What you'll learn

Steps in this lab

  1. The words this lab rests on: Tomcat, the Manager app, the text API, and a WAR
  2. Stand up the lab — and yes, you must deliberately break it (twice)
  3. Confirm access — the finding is /manager/text/list answering a weak credential
  4. Build the payload WAR — msfvenom, or a hand-written JSP shell
  5. Deploy it and prove RCE — upload the WAR, trigger it, run a command
  6. When you meet this in the wild, why it works, and how a pro does it better
  7. Fix it and re-measure — remove/scope the user, keep the valve, run non-root
  8. The honest negative, and the habits worth keeping

Open the full interactive lab →