Lucene search
K

runC < 1.0-rc6 (Docker < 18.09.2) - Host Command Execution Exploit

🗓️ 12 Feb 2019 00:00:00Reported by feexdType 
zdt
 zdt
🔗 0day.today👁 130 Views

runC < 1.0-rc6 (Docker < 18.09.2) - Host Command Execution Exploit. Usage: Edit HOST inside `payload.c`, compile with `make`. Start `nc` and run `pwn.sh` inside the container. Exploit is destructive - overwrites `/usr/bin/docker-runc` binary on the host and `/bin/sh` inside the container. Tested only on Debian 9. For more information, visit the provided link

Related
Code
runc< 1.0-rc6 (Docker < 18.09.2) - Host Command Execution

# Usage
Edit HOST inside `payload.c`, compile with `make`. Start `nc` and run `pwn.sh` inside the container.

# Notes
- This exploit is destructive: it'll overwrite `/usr/bin/docker-runc` binary *on the host* with the
payload. It'll also overwrite `/bin/sh` inside the container.
- Tested only on Debian 9.
- No attempts were made to make it stable or reliable, it's only tested to work when a `docker exec
<id> /bin/sh` is issued on the host.

More complete explanation [here](https://github.com/lxc/lxc/commit/6400238d08cdf1ca20d49bafb85f4e224348bf9d).

Download: https://github.com/offensive-security/exploitdb-bin-sploits/raw/master/bin-sploits/46359.zip


#  0day.today [2019-02-25]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

12 Feb 2019 00:00Current
8.8High risk
Vulners AI Score8.8
EPSS0.55296
130