
PHP proof-of-concept exploit for CVE-2023-2640 and CVE-2023-32629 privilege escalation vulnerabilities on Ubuntu systems. Intended for educational security research and testing.
I am not responsible if you use the code improperly or illegally. The purpose of the script is purely educational and nothing more.
in this script in PHP I tried to create exploit of
--cve-2023-2640--privilege-escalation CVE-2023-32629 & CVE-2023-2640
| ^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^ |
|---|---|
| ^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^ |
| ^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^ |
USE >>>>>>
Do not use wget to download the PHP file because the code is downloaded in a messy way. It's better to couple the script and create a .php file, then paste the code into it.
php poc.php
NOTE
the original CVE poc in bash is from
orignal cve rephttps://github.com/ThrynSec/CVE-2023-32629-CVE-2023-2640---POC-Escalation).
IMPORTANT I am not responsible if you use the code improperly or illegally. The purpose of the script is purely educational and nothing more.