CVE-2023-21123
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Jun 15, 2023
CISA due date
—
Cloudanix analysis
A problem in Android lets apps on the same device secretly gain extra powers without asking the user, which could let someone take over the phone.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Other
- Class
- Authorization Bypass
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
Missing permission check in multiple Android functions allows bypassing DISALLOW_DEBUGGING_FEATURES restrictions to enable tracing, resulting in local privilege escalation without additional privileges or user interaction.
Why it matters to the business
Devices running affected Android versions remain exposed to local attackers gaining elevated access, potentially compromising sensitive data and device control; the high number of days since publication increases risk for unpatched legacy systems still in widespread use.
How an attack unfolds
A local attacker or malicious application leverages the absent permission validation to perform tracing operations that should be blocked, directly achieving privilege escalation on the device.
How to fix it
Apply the latest available Android security updates for versions 11 through 13; where patches are unavailable, restrict local debugging capabilities and limit untrusted applications.
How to confirm the fix worked
Verify Android security patch level against published bulletins and test that DISALLOW_DEBUGGING_FEATURES restrictions are enforced in affected functions.
Typical attack path
- Gain local access via installed app or process on Android device
- Invoke functions that should be restricted by DISALLOW_DEBUGGING_FEATURES
- Exploit missing permission check to enable tracing
- Escalate privileges to access restricted system resources
How to detect it
Review Android system logs and permission audit trails for unexpected tracing activity or bypassed debugging restrictions on devices running versions 11-13.
What your security team should do
- Immediately deploy available Android security updates across the fleet
- Audit and restrict debugging features on managed devices
- Monitor for local privilege escalation attempts in system logs
The record
In multiple functions of multiple 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-270050064
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-21122 In various functions of various 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