Docker Groups
Docker group exploits
To execute these exploits the current user has to be in docker
group
Writable Docker Socket
If the docker socket is writable it can be used to run commands as an elevated user. Only users in root and docker group can read the socket file.
Access arbitrary folders
Add user to /etc/passwd
Spawn shell
Root Please Docker image
A docker image that spawns a root shell.
LXC / LXD group exploit
To execute this exploit the current user has to be in lxc or lxd
group. Download configure and build an Alpine image, mount /root and execute /bin/sh as root.
Last updated