1291 matches found
CVE-2025-31133
CVE-2025-31133 PoC 利用 本文档说明所提供的 runc 漏洞 CVE-2025-31133 的 Proof-of-Concept PoC 脚本的功能。 摘要 漏洞: CVE-2025-31133 - runc 中 maskedPaths 处理的一个符号链接条件竞争漏洞。 影响: 恶意容器可以绕过 maskedPaths 的保护,从而允许写入宿主机上的敏感文件。这构成了一次容器逃逸 。 PoC 目标: 安全地演示漏洞:从容器内部修改宿主机的 /proc/sys/kernel/corepattern 文件。 安全性: 此 PoC 是非破坏性的。它仅向目标文件写入字符串...
Docker-breakout-runc
Docker breakout via runc Originally from : https://github.com/Frichetten/CVE-2019-5736-PoC. This repo is simply me messing around with the PoC and attempting to figure the exploit's flow...
rootpacket-cve-2026-31431
rootpacket CVE-2026-31431 A Linux Docker-to-host cryptojacking toolkit captured from live attacks on Kinryū Labs honeypots. It breaks in through an exposed Docker Engine API, escapes the container to root the host with CVE-2026-31431 , installs a kernel rootkit, and runs an XMRig Monero miner. Fu...
CVE-2024-21626-demo
CVE-2024-21626-demo Demo for the LT at Container Runtime Meetup 5. This is to raise awareness of the attack risk based on publicly known information, and misuse is strictly prohibited. Slides Container Runtime Meetup 5 - Can You Really Trust That Image? Taking Host Root with CVE-2024-21626 Loggin...
monitorsfour
MonitorsFour — HackTheBox Plataforma: HackTheBox SO: Windows Estado: Retirada — walkthrough completo publicado. Walkthrough completo: l3dsec.com/walkthroughs/monitorsfour-htb Cadena de ataque root@kitploit: Nmap → nginx 80 + WinRM 5985 → ffuf → cacti.monitorsfour.htb Cacti → endpoint de API no...
CVE-2026-5817-PoC
CVE-2026-5817:Docker Model Runner 容器到宿主机 RCE / 逃逸 在 Docker Desktop(4.40.0 至 4.67.x)宿主机上的任何容器,都可以通过两个 HTTP 请求在宿主机上运行代码。无需套接字挂载,无需 --privileged,无需 capabilities。 原理 每个容器都可以无认证地访问位于 model-runner.docker.internal 的 Model Runner。它会从你指定的任何 OCI 仓库拉取模型,并在不校验摘要的情况下存储它们。Python 后端(vLLM、MLX、SGLang)使用...
CVE-2019-5736
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...
CVE-2025-9074
描述 Vibe 编写了一个纯 Bash 的小型漏洞利用脚本,不依赖可能未安装的工具。该脚本与内部 Docker API 通信,创建并启动一个新容器,挂载宿主机 C 盘,然后在其中执行命令。输出会流式传回控制台。容器随后会被删除。 用法 ./exploit.sh "whoami"...
ZigRaceExploit
CVE-2021-25741 — Zig中的TOCTOU符号链接竞态利用 关于TOCTOU(检查时间,使用时间)竞态条件的教育性利用,它是CVE-2021-25741的根源,该漏洞存在于Kubernetes kubelet中。 该项目在本地(无需K8s集群)演示了并发符号链接交换如何能够绕过lstat和open之间的路径检查,并证明带有RESOLVE标志的openat2是解决方案。 目录 问题 利用的工作原理 代码架构 前提条件 构建 使用 本地Docker测试 openat与openat2对比 调整TOCTOU延迟 在真实Kubernetes节点上测试 预期结果 代码解释...
cve-2019-5736-exp
cve-2019-5736-exp This is a proof-of-concept PoC exploit for the CVE-2019-5736 vulnerability in runc, the runtime used in Docker. Disclaimer I undertook this project as an exercise, for educational reasons and for fun. It should go without saying that I do not support unethical and/or illegal...
coolify-cve-2025-66209-66213
Coolify Security Advisories - CVE-2025-66209 through CVE-2025-66213 Reporter: 0xrakan Vendor: coollabsio/coolify Affected Versions: v4.0.0-beta.451 Fixed Version: v4.0.0-beta.451 Severity: Critical CVSS 9.4 Overview Five critical authenticated command injection vulnerabilities were discovered in...
CVE-2025-9074-PoC-Bash
CVE-2025-9074-PoC-Bash 原始PoC位于:https://github.com/j3r1ch0123/CVE-2025-9074。这是一个新的基于bash的PoC,因为并非所有Docker容器都安装了Python,而且通常应在容器内部运行此脚本。 步骤 在容器内部,使用以下命令查找存在漏洞的Docker API: root@kitploit: for ip in 172.18.0.1 172.17.0.1 192.168.65.7; do echo /dev/tcp/$ip/2375 2/dev/null && echo "+ $ip:2375 open" || :...
docker_lightman_exploit
Docker Lightman 漏洞利用 Docker CVE-2022-37708。 此漏洞利用依赖于 UNIX 文件系统在 Docker 共享文件时设置 UID 和 GID 的方式,这些文件在运行 Docker 的宿主机与被 Docker 容器内运行的客户端之间共享,同时也依赖于进程 ID 所有权的工作原理。 问题简述 Docker 将客户端内共享的文件 ID 直接映射到“宿主机系统”上的一个私有(且受保护的)目录(例如 /var/lib/docker/volumes)。 对此路径的目录遍历已被正确限制,这不是本漏洞的利用点。 这些文件具有在托管于 Docker...
cve-2025-23266-migration-bypass
cve-2025-23266-migration-bypass cve-2025-23266-migration-bypass 提供了两种获取flag内容的方法: 1. 将其从宿主机复制到容器挂载目录中; 2. 使用反向shell获取它;...
CVE-2024-21626-POC
CVE-2024-21626-POC 使用说明 仅供教育/研究使用,任何与教育/研究无关的行为所产生的风险自行负责 使用 root@kitploit: docker build . -t cve-2024-21626 docker run -it --rm cve-2024-21626 bash /poc.sh 另起一个terminal /bin/bash.copy 注意 不同docker/runc版本使用的具体文件描述符有所不同,例如docker server:20.10.17 && runc version 1.1.2 的情况下使用 /proc/self/fd/9,实际的 fd...
CVE-2019-5736-PoC
Usage PoC was created to the scenario were victim is executing for example docker exec sh. Before running exploit it's required to overwrite sh binary in the container file system: root@kitploit: printf '!/proc/self/exe' /bin/sh After that, when victim executes exec command, runc binary in the ho...
CVE-2025-9074-Poc
Docker API 未授权远程代码执行 CVE-2025-9074 Docker Desktop 中的一个严重 CVE-2025-9074 漏洞,使得本地运行的 Linux 容器能够通过默认子网 192.168.65.7:2375 连接 Docker Engine API。无论是否启用增强容器隔离 ECI 或 TCP 暴露设置,该问题都会持续存在。CVE-2025-9074 的概念验证利用代码已公开。该漏洞可能允许未经授权访问主机系统上的用户文件。因此,风险等级被评定为高风险。 一个独立的 Bash 脚本,用于利用暴露的 Docker API(通常为 2375...
POC-CVE-2019-5736
RunC-CVE-2019-5736 Video : https://bit.ly/2WqvILb Blog Post : www.idealhax.blogspot.com/2020/05/breaking-out-of-docker-via-runc.html Here, I like to mention that the original developer of this exploit is Yuval Avrahami at Twistlock Labs. Running the POCs Note that running the POCs will overwrite...
can-ctr-escape-cve-2022-0492
一个用于测试容器环境是否容易受到 CVE-2022-0492 逃逸漏洞影响的容器镜像。最好在运行由以下命令构建的镜像的新容器中执行: root@kitploit: $ cd can-ctr-escape-cve-2022-0492 $ docker build -t can-ctr-escape-cve-2022-0492:latest . 预构建镜像可从 us-central1-docker.pkg.dev/twistlock-secresearch/public/can-ctr-escape-cve-2022-0492:latest 获取。 在 Kubernetes 中运行...
CVE-2022-0847-container-escape
CVE-2022-0847 一个简单的漏洞利用程序,使用 dirtypipe 将 shellcode 注入 runC 入口点,以实现容器逃逸。 用法 使用 msf 生成 base64 编码的 shellcode: root@kitploit: $ msfvenom -p linux/x64/exec CMD="" -f base64 在容器中编译并运行,被覆盖的文件名 是 runC 将在容器中执行的二进制文件(例如 /bin/sh): root@kitploit: $ gcc exploit.c -o exploit $ ./exploit 像 CVE-2019-5736...