RunAsAnyone: PoC and writeup for bypassing the initial patch of CVE-2024-0044, Android run-as any app vulnerability allowing privilege escalation from adb to installed app
Vulnerability
CVE-2024-31317
Vulnerability details
- Score
- 7.8
- Severity
- high
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HDescription
In multiple functions of ZygoteProcess.java, there is a possible way to achieve code execution as any app via WRITE_SECURE_SETTINGS due to unsafe deserialization. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.
CVE ProgramExploit source choices
13 sourcesQuick tool for utilizing CVE-2024-31317 on Android
CVE-2024-31317
A command-line utility to exploit Android Zygote injection (CVE-2024-31317)
webldix/cve-2024-31317-poc-deployer source repository
Detailed discussion of Zygote vulnerability CVE-2024-31317
CVE-2024-31317 Debuggable App Exploit
CVE-2024-31317 Android Zygote命令注入漏洞研究与部署工具 | Android 9-13 漏洞利用框架
Remove Android profile owners/family link with CVE-2024-31317
This is a toolkit that uses CVE-2024-31317 to extract private app data via ADB or spawn a shell with an app's UID.
agg23/android_31317_exploit_rs source repository
Educational demonstration of CVE-2024-31317 Zygote Injection Vulnerability on Android
CVE-2024-31317