chrisfosterelli / dockerrootplease Goto Github PK
View Code? Open in Web Editor NEWGives you root on the hostOS, if you're a member of the 'docker' group.
Gives you root on the hostOS, if you're a member of the 'docker' group.
yeah,
thanks of point out this Exploit,
and I tested on docker 1.6 and 1.5 on ubuntu,
it did not work.
please point docker version^_^
I saw this "/bin/bash exploit.sh" running on my docker infrastructure and from what I know its not something I can called explicit, so I am wondering if I should be concerned if someone is "hacking" me?
Any idea why I can see this ?
This may not be an easy fix, but it is a very real problem (on my system, and every other NixOS system).
root@598d670446b2:/# ls -alh /hostOS/bin/
total 0
drwxr-xr-x 2 root root 16 Mar 19 04:14 .
drwxr-xr-x 17 root root 175 May 10 2019 ..
lrwxrwxrwx 1 root root 75 Mar 19 04:14 sh -> /nix/store/d1id4kacjh0lb7alqhzjb4snbf4rs6h0-bash-interactive-4.4-p23/bin/sh
and the docker container fails with
==== ERROR ====
It looks like /hostOS does not contain a root filesystem
Please run this docker image with a /hostOS volume mounted to /
For example: docker run -v /:/hostOS -i -t exploitapp
this fails due to this check https://github.com/chrisfosterelli/dockerrootplease/blob/master/exploit.sh#L16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.