Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to run this container without root rights? #42

Open
negue opened this issue Jul 27, 2015 · 1 comment
Open

Is it possible to run this container without root rights? #42

negue opened this issue Jul 27, 2015 · 1 comment

Comments

@negue
Copy link

negue commented Jul 27, 2015

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?

@vincentcox
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants