CVE-2023-21122
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Jun 15, 2023
CISA due date
—
Cloudanix analysis
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
- Gain local access to an affected Android device
- Locate and invoke the vulnerable functions handling tracing features
- Trigger the missing permission check to bypass DISALLOW_DEBUGGING_FEATURES
- 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
- CVE-2023-21123 In multiple functions of multiple files, there is a possible way to bypass the… Also affects platform/packages/apps/Traceur
- CVE-2024-0053 In getCustomPrinterIcon of PrintManagerService.java, there is a possible way to view… Also affects android-platform-frameworks-base
- CVE-2024-0048 In Session of AccountManagerService.java, there is a possible method to retain foreground… Also affects android-platform-frameworks-base
- CVE-2024-0046 In installExistingPackageAsUser of InstallPackageHelper.java, there is a possible carrier… Also affects android-platform-frameworks-base
- CVE-2023-40094 In keyguardGoingAway of ActivityTaskManagerService.java, there is a possible lock screen… Also affects android-platform-frameworks-base
- CVE-2023-40074 In saveToXml of PersistableBundle.java, invalid data could lead to local persistent… Also affects android-platform-frameworks-base
- CVE-2023-35668 In visitUris of Notification.java, there is a possible way to display images from another… Also affects android-platform-frameworks-base
- CVE-2023-40073 In visitUris of Notification.java, there is a possible cross-user media read due to… Also affects android-platform-frameworks-base