## https://sploitus.com/exploit?id=FA4DE0A6-F598-5CCF-B0A0-BD2BE5FDEEFC
# CVE-2025-32463 β Privilege Escalation via Sudo chroot
## π Overview
**CVE-2025-32463** is a local privilege escalation vulnerability affecting the `sudo` utility.
It allows a regular user to escalate privileges to root by exploiting the `-R` option (which sets a custom runtime root directory) together with manipulated NSS configurations.
- **CVE:** CVE-2025-32463
- **Component:** sudo
- **Impact:** Local Privilege Escalation (root)
- **Discovered by:** Rich Mirch
---
## π¨ Risk & Impact
A successful exploit gives a low-privileged local user full root access, completely breaching the system security boundary.
---
## π¬ Testing the Exploit
### Usage Example
```bash
git clone https://github.com/FreeDurok/CVE-2025-32463-PoC.git
cd CVE-2025-32463-PoC
# Check current user privileges
id
# Run the exploit
./escalate.sh
# Verify escalated privileges
id
```

## π Affected Versions
β
Patched: sudo 1.9.17p1 and newer
π© Vulnerable: sudo 1.9.14 up to 1.9.17
π Not impacted: Versions before 1.9.14 (the -R feature did not exist)
## π Mitigation & Hardening
Upgrade to sudo 1.9.17p1 or later.
Consider limiting or auditing the use of sudo -R through configuration policies.
Use security modules like SELinux or AppArmor to restrict unexpected sudo operations.
### References
- [Rick Mirch blog](https://blog.mirch.io/sudo-elevation-of-privilege-vulnerabilities/)
- [NVD Entry for CVE-2025-32463](https://nvd.nist.gov/vuln/detail/CVE-2025-32463)
- [Stratascale Security Research](https://www.stratascale.com/vulnerability-alert-CVE-2025-32463-sudo-chroot)
## β οΈ Legal Notice
This repository is provided for authorized security testing and educational purposes only.
Executing these scripts on systems without explicit permission is illegal and violates ethical standards.