Share
## https://sploitus.com/exploit?id=8C310E47-2D66-5FF7-A45E-DCA5E892E73B
# CVE-2025-32463 POC (Proof-of-concept) exploit

CVE-2025-32463 (CVSS 7.8) is a local privilege escalation vulnerability, introduced in sudo 1.9.14 and present through 1.9.17. The issue allows a local user to run arbitrary commands as root by using sudo’s -R / –chroot option to cause sudo to load attacker-controlled NSS modules from inside a user-supplied chroot environment.

## Quick vulnerability check
```bash
# Vulnerable sudo:
user@debian: sudo -R shaolin shaolin
sudo: shaolin: No such file or directory

# Patched sudo:
user@debian: sudo -R shaolin shaolin
[sudo] password for user:
sudo: you are not permitted to use the -R option with shaolin
```


## Usage
```bash
user@debian: git clone https://github.com/cybershaolin47/CVE-2025-32463_POC

user@debian: cd CVE-2025-32463_POC

user@debian: chmod +x privesc.sh

user@debian: ./privesc.sh
```

## GCC is required for the exploit!


## For further information check the following links:
- https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot

- https://socradar.io/cve-2025-32463-sudo-privilege-escalation-flaw-exploited-cisa/

- https://www.upwind.io/feed/cve%E2%80%912025%E2%80%9132463-critical-sudo-chroot-privilege-escalation-flaw