프로젝트
GitHub에서 보기
pr0v3rbs/CVE-2025-32463_chwoot
소개
chroot 옵션이 있는 sudo 바이너리를 통해 root 권한으로 상승하는 권한 상승 취약점입니다. CVE-2025-32463
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalCVE-2025-32463 – sudo chroot ("chwoot") PoC
This repository provides a minimal, reproducible environment to demonstrate the CVE‑2025‑32463 privilege‑escalation flaw in sudo’s chroot feature.
- This vulnerability is reported by Rich Mirch (@0xm1rch on X) @ Stratascale.
- Original post: Vulnerability Advisory: Sudo chroot Elevation of Privilege
- NVD: CVE-2025-32463 (CVSS 9.3)
Affected Versions
Vulnerable builds of sudo 1.9.14 up to 1.9.17 (all p‑revisions) on most Linux distributions are affected.
Security Pages
Contents
| File | Purpose |
|---|---|
| Dockerfile | Builds an Ubuntu 24.04 image with vulnerable sudo 1.9.16p2 and build tools |
| sudo‑chwoot.sh | Proof‑of‑concept exploit that spawns a root shell inside the chroot |
| run.sh | Helper script that builds the image (if needed) and launches the exploit container |
Quick vulnerability check
# Vulnerable sudo
pwn ~ $ sudo -R woot woot
sudo: woot: No such file or directory
# Patched sudo
pwn ~ $ sudo -R woot woot
[sudo] password for pwn:
sudo: you are not permitted to use the -R option with woot
Test exploit in Docker container
# 1 – clone repo
$ git clone https://github.com/pr0v3rbs/CVE-2025-32463_chwoot.git
$ cd CVE-2025-32463_chwoot
# 2 – build and run Docker image (tagged "sudo-chwoot")
$ ./run.sh
# 3 – run exploit in container (runs root command directly or drops you into a root shell)
pwn@f722d9182d1f:~$ ./sudo-chwoot.sh id
woot!
uid=0(root) gid=0(root) groups=0(root),1001(pwn)
pwn@f722d9182d1f:~$ ./sudo-chwoot.sh
woot!
root@f722d9182d1f:/# id
uid=0(root) gid=0(root) groups=0(root),1001(pwn)
root@f722d9182d1f:/#
run.sh passes --privileged and --rm to Docker so the container cleans itself up when you exit.
Clean Up
Remove the image when you’re done:
docker rmi sudo-chwoot
Reference
- Stratascale CRU vulnerability note: Vulnerability Advisory: Sudo chroot Elevation of Privilege
관련 프로젝트 살펴보기
불러오는 중…