CVE-2024-31317

HIGH

Android - Local Privilege Escalation via Unsafe Deserialization in ZygoteProcess.java

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 14 public exploits for CVE-2024-31317. PoCs published by fuhei, Anonymous941, WebLDix.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2024-31317, a command injection vulnerability in Android's Zygote process. The exploit leverages the `hidden_api_blacklist_exemptions` setting to inject malicious commands, potentially leading to local privilege escalation (LPE) by spawning a new process with elevated privileges.

Description

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.

Exploits (14)

nomisec WORKING POC 64 stars
by fuhei · poc
https://github.com/fuhei/CVE-2024-31317

This repository contains a functional exploit for CVE-2024-31317, a command injection vulnerability in Android's Zygote process. The exploit leverages the `hidden_api_blacklist_exemptions` setting to inject malicious commands, potentially leading to local privilege escalation (LPE) by spawning a new process with elevated privileges.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android (versions up to and including Android 11)
Auth required
Prerequisites: WRITE_SECURE_SETTINGS permission · ADB access or another vulnerability to obtain the required permission
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 47 stars
by Anonymous941 · poc
https://github.com/Anonymous941/zygote-injection-toolkit

This repository contains a functional Python-based exploit for CVE-2024-31317, an Android Zygote injection vulnerability. The toolkit automates the exploitation process, providing a reverse shell with system privileges and attempting to bypass OEM unlocking restrictions.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android (pre-June 2024 security patch)
No auth needed
Prerequisites: ADB access · USB debugging enabled · Vulnerable Android device (pre-June 2024 patch)
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 35 stars
by WebLDix · poc
https://github.com/WebLDix/CVE-2024-31317-PoC-Deployer

This repository contains a functional PoC for CVE-2024-31317, targeting Android Zygote process privilege escalation. It includes a reverse shell implementation and payloads for Android versions 9-13.

Classification
Working Poc 80%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android 9-13
No auth needed
Prerequisites: Access to Android device running vulnerable version
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 23 stars
by wqry085 · poc
https://github.com/wqry085/PoC-Deployer-System

This repository contains a functional Android application that exploits CVE-2024-31317 to perform Zygote injection, enabling remote terminal access and file transfer. The tool leverages hidden API exemptions and requires Shizuku activation for privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android 9-13 (security patch before 2024.6)
Auth required
Prerequisites: Shizuku activation · Android device with security patch before 2024.6 · UID/GID configuration
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WRITEUP 18 stars
by agg23 · poc
https://github.com/agg23/cve-2024-31317

This repository provides a detailed technical analysis of CVE-2024-31317, an Android vulnerability allowing unprivileged apps to escalate privileges to uid 1000 (system) or uid 2000 (shell). It includes explanations of Zygote arguments, SELinux context manipulation, and references to external sources for exploit implementation.

Classification
Writeup 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android (versions 9-14 with security patch level prior to 2024-06-01)
No auth needed
Prerequisites: Unprivileged Android app context · Android version 9-14 with security patch level prior to 2024-06-01
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 7 stars
by CleoV2 · poc
https://github.com/CleoV2/Debuggable-App-Exploit

This repository contains a functional exploit for CVE-2024-31317, targeting a debuggable Android app vulnerability. The exploit uses ADB to set an app as debuggable, forwards JDWP, and manipulates the app's state via JDWP commands.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Android debuggable applications (specific version not specified)
No auth needed
Prerequisites: ADB access to the target device · Target app must be debuggable or exploitable via CVE-2024-31317
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC 3 stars
by fcy10012 · poc
https://github.com/fcy10012/CVE-2024-31317-Deployer

This repository contains a functional exploit for CVE-2024-31317, a command injection vulnerability in Android 9-13. It includes a reverse shell payload and detailed technical analysis of the vulnerability.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Android 9-13
Auth required
Prerequisites: WRITE_SECURE_SETTINGS permission · ADB access
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC 2 stars
by rifting · poc
https://github.com/rifting/Zygotroller

This repository contains a functional proof-of-concept exploit for CVE-2024-31317, which leverages a Zygote injection bug to remove profile owners (e.g., Family Link) on Android devices with Developer Mode enabled and pre-June 2024 security patches. The exploit involves compiling a native binary, embedding it in an APK, and injecting it via a crafted payload to bypass restrictions.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Android 12+ (pre-June 2024 security patch)
Auth required
Prerequisites: Developer Mode enabled · Pre-June 2024 security patch · Android source code for compilation · Physical access to the device
devstral-2 · analyzed Feb 18, 2026 Full analysis →
nomisec WORKING POC 2 stars
by mianliupindao · poc
https://github.com/mianliupindao/CVE-2024-31317-PoC-Deployer

This repository contains a functional exploit for CVE-2024-31317, an Android Zygote command injection vulnerability. It includes a reverse shell payload, compilation script, and detailed technical analysis of the vulnerability.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android 9 to Android 13
Auth required
Prerequisites: WRITE_SECURE_SETTINGS permission · Target device running Android 9-13 · Device not patched with 2024-06 security updates
devstral-2 · analyzed Feb 18, 2026 Full analysis →
github WORKING POC 1 stars
by vnescape · pythonpoc
https://github.com/vnescape/zygote-CVE-2024-31317

This repository contains a functional exploit for CVE-2024-31317, which targets Android devices (versions 9-14) with security patches before 2024-06-01. The exploit leverages a zygote process vulnerability to spawn a bind shell with the target app's UID, enabling data extraction or command execution.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Android (9-14, pre-2024-06-01 security patch)
No auth needed
Prerequisites: ADB access to the device · Android SDK build tools · JDK · device in AFU (After First Unlock) state
devstral-2 · analyzed May 29, 2026 Full analysis →
nomisec WORKING POC
by GitAmanS · poc
https://github.com/GitAmanS/ZygoteExploitDemo

This repository contains a functional exploit for CVE-2024-31317, demonstrating privilege escalation to SYSTEM (UID 1000) via Zygote process manipulation in Android. It includes a full demo setup with malicious and victim apps, a dashboard for exfiltrated data, and detailed technical documentation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android 9-14 (pre-June 2024 patch)
No auth needed
Prerequisites: WRITE_SECURE_SETTINGS permission · vulnerable Android emulator/device
devstral-2 · analyzed Mar 10, 2026 Full analysis →
nomisec WORKING POC
by chengfeng30121 · poc
https://github.com/chengfeng30121/CVE-2024-31317-PoC

This repository contains functional exploit scripts for CVE-2024-31317, targeting Android 11, 12, and 13. The exploit leverages a buffer overflow in the `hidden_api_blacklist_exemptions` global property to inject arbitrary commands, achieving local privilege escalation (LPE).

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android 11, 12, and 13
No auth needed
Prerequisites: local access to the device · ability to execute shell scripts
devstral-2 · analyzed Mar 07, 2026 Full analysis →
nomisec WORKING POC
by kalibb · poc
https://github.com/kalibb/CVE-2024-31317-Deployer

This repository contains a functional exploit for CVE-2024-31317, a command injection vulnerability in Android 9-13. It includes a reverse shell payload and detailed technical analysis of the vulnerability.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Android 9-13
Auth required
Prerequisites: WRITE_SECURE_SETTINGS permission · ADB access
devstral-2 · analyzed Feb 19, 2026 Full analysis →
nomisec WORKING POC
by jmywh1 · poc
https://github.com/jmywh1/CVE-2024-31317

This repository contains a functional exploit for CVE-2024-31317, targeting Android's hidden API blacklist exemption mechanism. The exploit constructs a malicious payload to manipulate the 'hidden_api_blacklist_exemptions' setting, potentially leading to privilege escalation or arbitrary code execution.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: Android (versions likely including SDK_INT > R)
No auth needed
Prerequisites: Android device with vulnerable SDK version · Ability to install and run the exploit APK
devstral-2 · analyzed Feb 18, 2026 Full analysis →

Scores

CVSS v3 7.8
EPSS 0.0703
EPSS Percentile 91.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-502
Status published
Products (4)
google/android 12.0
google/android 12.1
google/android 13.0
google/android 14.0
Published Jul 09, 2024
Tracked Since Feb 18, 2026