docker-wordpress-nginx icon indicating copy to clipboard operation
docker-wordpress-nginx copied to clipboard

Is it possible to run this container without root rights?

Open negue opened this issue 9 years ago • 1 comments

I'm trying to run this container with the "best practices" of https://github.com/docker/docker-bench-security, and this script shows me that docker-wordpress-nginx is running as root.

So if someone could hijack the wordpress, they would also get root and hijack everything else :D

Anyway, do you know how to this as a normal user instead of root?

negue avatar Jul 27 '15 18:07 negue

I recommend to use this only for testing purposes. I've put a webshell on the wordpress website (simulating an attack via a outdated wordpress plugin) and I got full access to the core-os/docker machine: screen shot 2015-10-25 at 10 03 05

vincentcox avatar Oct 25 '15 09:10 vincentcox