🚀 Submit a Challenge — SecDim AppSec Village CTF at DEF CON 34 and Win a ROG Xbox Ally

Running a process as root in a container vs running a container as root

Blog1 min read

Running a container as a root is dangerous. But why? Let’s first understand what is the difference between running a process as root in a container vs running containers as root. Then see in practice the extend of a compromise when a program inside root container has ImageTragick bug.

IMPORTANT: You must first create the user on the host and then in the container. UID (1337) must exists in both container and host. This step was skipped in the livecast.

Lab: Root and ImageTragick - SecDim

Livecast: 5th April 2022, 6pm AEST, 10am CEDT

Questions or comments? Discuss this post on SecDim Community →

Try it yourself

Find, Hack and Fix Your First Vulnerability

Reading about security bugs is one thing — fixing one is how the skill sticks. Play a free challenge from the wargame, no setup required.