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

CVE-2024-43085: Google Android Privilege Escalation Flaw

CVE-2024-43085 is a privilege escalation vulnerability in Google Android that enables unauthorized USB access to device contents without unlocking. 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-43085 Overview

CVE-2024-43085 is a local privilege escalation vulnerability in the Android operating system. The flaw resides in the handleMessage method of UsbDeviceManager.java, part of the Android frameworks base. A logic error allows access to device contents over Universal Serial Bus (USB) without first unlocking the device. The weakness is categorized as improper access control [CWE-276]. Google addressed the issue in the November 2024 Android Security Bulletin. The vulnerability affects Android versions 12.0, 12.1, 13.0, 14.0, and 15.0. No user interaction is required for exploitation, and no additional execution privileges are needed.

Critical Impact

An attacker with physical USB access can read protected device contents from a locked Android device, bypassing the lock-screen trust boundary and enabling local escalation of privilege.

Affected Products

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

Discovery Timeline

Technical Details for CVE-2024-43085

Vulnerability Analysis

The vulnerability is a logic error in the message-handling path of Android's UsbDeviceManager. This component manages USB state transitions, including which USB functions (such as Media Transfer Protocol, Picture Transfer Protocol, or file transfer) become available when a host connects. The affected code path in handleMessage fails to enforce the device-unlocked precondition before enabling content-exposing USB functions. As a result, an attacker who physically connects a cable to a locked device can enumerate and access protected storage and content providers that should remain gated behind the lock screen.

The weakness maps to improper access control [CWE-276] rather than a memory corruption bug. Exploitation does not require crafted packets, custom hardware, or elevated code on the device. The attacker needs local USB access to the target handset.

Root Cause

The root cause is a missing or incorrect state check inside handleMessage in UsbDeviceManager.java. The handler transitions USB function states without validating that the keyguard is in the unlocked state. The upstream fix is tracked in Android commit 2457d4e459ee6ffd099b9ff7cce9c83119c3ce66 in the platform/frameworks/base repository.

Attack Vector

The attack vector is local and physical. An attacker connects a locked Android device to a host over USB and triggers the vulnerable USB state transition. The host then issues standard USB protocol commands to read files, media, or other content that policy intends to protect behind the lock screen. No malware, no user tap, and no additional privilege on the device are required.

No verified public proof-of-concept code is available. See the Android source code change for the authoritative technical reference.

Detection Methods for CVE-2024-43085

Indicators of Compromise

  • USB connection events on locked devices followed by MTP or PTP session establishment prior to a successful keyguard unlock event in system logs.
  • Unexpected UsbDeviceManager state transitions in logcat showing content-exposing USB functions enabled while the device remains locked.
  • Mobile device management (MDM) telemetry showing USB data transfer activity on managed handsets outside of approved sessions.

Detection Strategies

  • Correlate KeyguardManager lock-state events with USB function change events to flag content exposure before unlock.
  • Monitor fleet-wide Android security patch level and alert on devices still reporting a patch level earlier than 2024-11-01.
  • Use MDM or EDR mobile telemetry to track USB connection metadata, including host identifiers and session duration on corporate devices.

Monitoring Recommendations

  • Enroll Android devices in MDM to centrally collect patch level, USB policy, and connection telemetry.
  • Alert on handsets running Android 12 through 15 that have not received the November 2024 security patch.
  • Review physical security of device staging, repair, and lost-and-found workflows where unattended USB access is possible.

How to Mitigate CVE-2024-43085

Immediate Actions Required

  • Apply the November 2024 Android security patch (2024-11-01 security patch level) or later to all affected devices.
  • Prioritize patch deployment for high-risk roles whose devices are frequently handled by third parties or left unattended.
  • Enforce an MDM policy that blocks USB data transfer on managed devices until the patch is confirmed deployed.

Patch Information

Google fixed CVE-2024-43085 in the Android Security Bulletin November 2024. The code change is published at the Android Open Source Project under commit 2457d4e459ee6ffd099b9ff7cce9c83119c3ce66 in platform/frameworks/base. Device manufacturers integrate the fix into their respective firmware builds, so the exact over-the-air (OTA) availability depends on the OEM and carrier.

Workarounds

  • Disable USB data transfer at the hardware or policy level by restricting USB to charging-only through MDM configuration.
  • Keep devices powered off or in a locked, attended state when physical custody cannot be guaranteed.
  • Use a USB data blocker (charge-only adapter) when connecting to untrusted hosts or public charging stations.
bash
# Example MDM / adb check: verify security patch level on an Android device
adb shell getprop ro.build.version.security_patch
# Expected output should be 2024-11-01 or later for CVE-2024-43085 to be remediated

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.