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

Most secure jailed environment? #20

Closed
espoal opened this issue Aug 18, 2015 · 4 comments
Closed

Most secure jailed environment? #20

espoal opened this issue Aug 18, 2015 · 4 comments

Comments

@espoal
Copy link

espoal commented Aug 18, 2015

Very nice project!

I was planning to try it, and my first idea has been to use it inside Docker, for security reasons.

You suggest to launch docker via gotty, but I think this is a vulnerability.

As discussed in the past on docker security, it might be possible to crash the docker container, allowing to execute commands on the host.

Wouldn't it be better to launch docker, then run gotty INSIDE docker?

@espoal
Copy link
Author

espoal commented Aug 18, 2015

Examples of privilege escalations: (nothing practical but...)

http://stealth.openwall.net/xSports/shocker.c

https://blog.docker.com/2013/08/containers-docker-how-secure-are-they/

@cGuille
Copy link

cGuille commented Aug 18, 2015

Hello,
I agree with you, so I wrote a simple Dockerfile to do just that.

@yudai
Copy link
Owner

yudai commented Aug 20, 2015

Hi, thank you the comment.
Running gotty in containers sounds better than running in host machines.
However I want to keep the README as short as possible and just provide samples. So I'd like to keep the current sample as is.

@yudai yudai closed this as completed Aug 20, 2015
@yudai
Copy link
Owner

yudai commented Aug 20, 2015

@cGuille Thank you for providing a sample Dockerfile. It would be helpful for those who want to run gotty in containers.

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

No branches or pull requests

3 participants