Skip to main content
Vulnerability Database/CVE-2024-34723

CVE-2024-34723: Google Android Privilege Escalation Flaw

CVE-2024-34723 is a privilege escalation vulnerability in Google Android that allows attackers to steal mAllowlistToken and launch apps from background. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2024-34723 Overview

CVE-2024-34723 is a local privilege escalation vulnerability in the Android operating system. The flaw resides in the onTransact method of ParcelableListBinder.java within the Android framework. A logic error allows a local attacker to steal the mAllowlistToken, which can then be used to launch an application from the background. Exploitation requires no user interaction and no additional execution privileges beyond those of an unprivileged local app. The issue was published in the Android Security Bulletin for July 2024 and affects multiple Android releases from version 12 through 14.

Critical Impact

A local, unprivileged application can steal the mAllowlistToken through a flaw in ParcelableListBinder and launch arbitrary apps from the background, resulting in local escalation of privilege without user interaction.

Affected Products

  • Google Android 12.0 and 12.1
  • Google Android 13.0
  • Google Android 14.0

Discovery Timeline

  • 2024-07-09 - CVE-2024-34723 published to the National Vulnerability Database (NVD)
  • 2024-07-01 - Fix published in the Android Security Bulletin July 2024
  • 2026-06-17 - Last updated in the NVD database

Technical Details for CVE-2024-34723

Vulnerability Analysis

The vulnerability lives in the onTransact method of ParcelableListBinder.java, part of the Android framework's platform/frameworks/base project. ParcelableListBinder is a binder-side helper used to transfer lists of Parcelable objects across process boundaries using the Binder IPC mechanism. The classification under [CWE-783] (Operator Precedence Logic Error) indicates the defect is a logic error in the handling of parcel data rather than a memory safety issue. Because the flaw is reachable from a local, unprivileged process over Binder IPC, any installed application can trigger it without social engineering or user interaction.

Root Cause

The root cause is a logic error in how onTransact processes parcel contents, which exposes the privileged mAllowlistToken to callers that should not have access to it. mAllowlistToken is an Android framework token associated with pending intents and background activity launches. When this token leaks to an untrusted process, the system treats subsequent activity launches from that process as allowlisted, bypassing Android's background activity launch restrictions.

Attack Vector

Exploitation is purely local. A malicious application installed on the device issues a crafted Binder transaction that reaches the vulnerable onTransact handler and recovers the mAllowlistToken from the returned parcel. The attacker then constructs a PendingIntent or activity launch request using the stolen token, allowing the app to start arbitrary activities from the background. This defeats the background activity launch controls introduced in Android 10 and later, giving the attacker a privilege escalation primitive used to display UI, phish credentials, or interact with privileged system components. The fix is implemented in Android commit c702bb71811993960debe0c18fcf8834cfa2454f.

Detection Methods for CVE-2024-34723

Indicators of Compromise

  • Installed third-party applications launching activities from the background without a corresponding user gesture or foreground service.
  • Unexpected PendingIntent or startActivity invocations originating from processes that lack SYSTEM_ALERT_WINDOW or foreground state.
  • Binder transaction traces showing non-system UIDs invoking ParcelableListBinder.onTransact with abnormal frequency.

Detection Strategies

  • Review the Android security patch level on managed devices and flag any device running Android 12 through 14 with a patch level earlier than 2024-07-01.
  • Use mobile threat defense or EMM tooling to identify sideloaded applications and apps requesting unusual IPC-related permissions.
  • Analyze logcat for ActivityTaskManager entries indicating background activity starts that were allowlisted via a token that did not originate from the launching package.

Monitoring Recommendations

  • Enforce a minimum Android security patch level policy of July 2024 or later through enterprise mobility management.
  • Monitor Google Play Protect and third-party mobile app reputation feeds for applications flagged as abusing background activity launches.
  • Collect device compliance telemetry centrally and alert on patch-level drift for Android 12, 12.1, 13, and 14 fleets.

How to Mitigate CVE-2024-34723

Immediate Actions Required

  • Apply the Android security patch level 2024-07-01 or later on every supported device running Android 12, 12.1, 13, or 14.
  • Prioritize OEM firmware updates for devices that remain on pre-July 2024 patch levels and remove unsupported devices from managed fleets.
  • Audit installed applications on managed devices and remove unknown or low-reputation apps that could abuse the local attack surface.

Patch Information

Google addressed CVE-2024-34723 in the Android Security Bulletin July 2024. The upstream fix is applied in the AOSP commit c702bb71811993960debe0c18fcf8834cfa2454f in platform/frameworks/base. Devices receive the fix once the OEM ships a build with the 2024-07-01 security patch level or later.

Workarounds

  • No vendor-supplied workaround exists; the only supported remediation is installing the July 2024 or later Android security patch.
  • Restrict application installation to Google Play and block sideloading via EMM policy to reduce the likelihood that a malicious local app can trigger the flaw.
  • Enable Google Play Protect and keep it active to help identify abusive applications on managed devices.
bash
# Verify the Android security patch level on a connected device
adb shell getprop ro.build.version.security_patch
# Expected output for patched devices: 2024-07-01 or later

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.