Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
container-escape-ebpf — POCs y Reglas de Tetragon para CVE-2024-21626 y CVE-2025-31133 | Kitploit
Herramientas/GitHubGitHub/scherepiuk/container-escape-ebpf
Seguridad de ContenedoresAnálisis de VulnerabilidadesExplotaciónPapers e InvestigaciónAprendizaje y EducaciónEscape de Contenedores
GitHubscherepiuk/container-escape-ebpf

container-escape-ebpf

POCs y Reglas de Tetragon para CVE-2024-21626 y CVE-2025-31133

Ver Repositorio
15hace 2 mesesAún no revisado

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

Documento técnico

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

Suposiciones

  • El host ejecuta una versión vulnerable de runc:
    • Para CVE-2025-31133: 1.2.7 y anteriores, 1.3.0-rc.1 hasta 1.3.2, 1.4.0-rc.1 y 1.4.0-rc.2.
    • Para CVE-2024-21626: 1.0.0-rc93 hasta 1.1.11.
  • Un usuario no privilegiado puede crear contenedores con runc (o ctr de containerd) a partir del archivo de configuración OCI y un rootfs simple.

Uso

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!
Descargar herramienta