Cloudanix VulnDB

CVE-2023-21122

High · 7.8

CVSS

7.8

EPSS

0.1%

Published

Jun 15, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in Android lets someone with limited access on a phone secretly turn on advanced tracking tools and gain more control over the device.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Privilege Gain
Component
Application
Class
Authorization Bypass
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

Missing permission checks in multiple functions across various files allow bypassing the DISALLOW_DEBUGGING_FEATURES restriction, enabling unauthorized tracing and leading to local privilege escalation on Android.

Why it matters to the business

Devices running affected Android versions face increased risk of local attackers gaining elevated access to system tracing and debugging data, potentially exposing sensitive user and application information.

How an attack unfolds

An attacker with local access on a device invokes vulnerable tracing-related functions that lack proper permission validation, bypassing the DISALLOW_DEBUGGING_FEATURES flag to enable restricted debugging capabilities and escalate privileges without user interaction.

How to fix it

Update affected Android devices (versions 11, 12, 12L, and 13) to the latest available security patches from Google once released to enforce the missing permission checks.

How to confirm the fix worked

Test that attempts to enable tracing without the required permissions are blocked on patched devices; review source changes addressing A-270050191 for confirmation of permission enforcement.

Typical attack path

  1. Gain local access to an affected Android device
  2. Locate and invoke the vulnerable functions handling tracing features
  3. Trigger the missing permission check to bypass DISALLOW_DEBUGGING_FEATURES
  4. Enable tracing and leverage resulting access for privilege escalation

How to detect it

Inspect Android system logs and permission audit trails for unexpected tracing activations or bypassed debugging restrictions on unpatched devices.

What your security team should do

  • Apply Android security updates immediately upon release for versions 11 through 13
  • Enforce device policies that limit local debugging access where feasible
  • Monitor official Android security bulletins for patch availability and deployment

The record

In various functions of various files, there is a possible way to bypass the DISALLOW_DEBUGGING_FEATURES restriction for tracing due to a missing permission check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-11 Android-12 Android-12L Android-13Android ID: A-270050191

Affected packages

Ecosystem Package Introduced Fixed
Android platform/packages/apps/Traceur 11:0 11:2023-06-01
Android platform/packages/apps/Traceur 12:0 12:2023-06-01
Android platform/packages/apps/Traceur 12L:0 12L:2023-06-01
Android platform/packages/apps/Traceur 13-next:0 13-next:2023-06-01
Android platform/packages/apps/Traceur 13:0 13:2023-06-01
Ubuntu:16.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:18.04:LTS android-framework-23 0 No fix
Ubuntu:18.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:20.04:LTS android-framework-23 0 No fix
Ubuntu:20.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:22.04:LTS android-framework-23 0 No fix
Ubuntu:22.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:24.04:LTS android-framework-23 0 No fix
Ubuntu:24.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:24.10 android-framework-23 0 No fix
Ubuntu:24.10 android-platform-frameworks-base 0 No fix
Ubuntu:Pro:16.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:Pro:18.04:LTS android-framework-23 0 No fix
Ubuntu:Pro:18.04:LTS android-platform-frameworks-base 0 No fix
Ubuntu:Pro:20.04:LTS android-framework-23 0 No fix
Ubuntu:Pro:20.04:LTS android-platform-frameworks-base 0 No fix

Related vulnerabilities