Vulnerability
CVE-2019-5736
Vulnerability details
- Score
- 8.6
- Severity
- high
CVSS 3.1 · NVD
Vector string
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HDescription
runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.
CVE ProgramExploit source choices
25 sourcesThis module leverages a flaw in `runc` to escape a Docker container and get command execution on the host as root. This vulnerability is identified as CVE-2019-5736. It overwrites the `runc` binary with the payload and wait for someone to use `docker exec` to get into the container. This will trigger the payload execution. Note that executing this exploit carries important risks regarding the Docker installation integrity on the target and inside the container ('Side Effects' section in the documentation).
📦 Make security testing of K8s, Docker, and Containerd easier.
OSCP Cheat Sheet
A container analysis and exploitation tool for pentesters and engineers.
PoC for CVE-2019-5736
Damn Vulnerable Kubernetes App (DVKA) is a series of apps deployed on Kubernetes that are damn vulnerable.
Unweaponized Proof of Concept for CVE-2019-5736 (Docker escape)
CVE-2019-5736 POCs
⚙ DevSecOps Kubernetes Playground ("A Hacker's Guide to Kubernetes")
runc容器逃逸漏洞预警
getshell test
bitdefender/vbh_sample source repository
Code sample for using exploit CVE-2019-5736 to mine bitcoin with no association to original container or user.
A simple exploit that uses dirtypipe to inject shellcode into runC entrypoint to implement container escapes.
b3d3c/poc-cve-2019-5736 source repository
CVE-2019-5736 implemented in a self-written container runtime to understand the exploit.
likekabin/cve-2019-5736 source repository
Exploit for the CVE-2019-5736 runc vulnerability
Exploit code
bbrathnayaka/poc-cve-2019-5736 source repository
billith/cve-2019-5736-poc source repository
burlakar/tpc source repository
christineedgarse/secrets6 source repository