CVE-2023-40094
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Dec 4, 2023
CISA due date
—
Cloudanix analysis
A flaw in how a device checks permissions could let someone who already has physical access unlock it and take full control without extra steps.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Patch
- Effort
- Medium
- Patch risk
- Low
What it actually does
Missing permission check in keyguardGoingAway of ActivityTaskManagerService.java enables lock screen bypass leading to local privilege escalation without additional privileges or user interaction.
Why it matters to the business
Local attackers can gain full control of affected devices, exposing sensitive data and allowing unauthorized operations; while EPSS remains low and no KEV listing exists, the 1047 days since publication and presence in downstream ecosystems increase long-term exposure risk for organizations relying on the affected components.
How an attack unfolds
An attacker with local access invokes the vulnerable keyguardGoingAway path to bypass authentication checks and obtain elevated privileges on the device.
How to fix it
Upgrade affected packages to fixed versions; for org.apache.hive/hive-jdbc update to 4.0.0 or later. Apply vendor patches promptly given the 1047-day window since publication.
How to confirm the fix worked
Verify package versions against fixed releases, review permission checks around ActivityTaskManagerService, and confirm lock screen enforcement in updated builds.
Typical attack path
- Gain local access to the target device
- Invoke ActivityTaskManagerService.keyguardGoingAway without required permissions
- Bypass lock screen authentication
- Escalate to full device privileges
How to detect it
Review system logs for unexpected keyguard transitions or privilege changes; examine ActivityTaskManagerService calls in application or system traces for signs of bypass attempts.
What your security team should do
- Prioritize upgrade of org.apache.hive/hive-jdbc to 4.0.0
- Audit local privilege boundaries in Android-based or dependent systems
- Monitor for any future EPSS increases or threat actor adoption
The record
In keyguardGoingAway of ActivityTaskManagerService.java, there is a possible lock screen bypass 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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Android | platform/frameworks/base | 11:0 | 11:2023-12-01 |
| Android | platform/frameworks/base | 12:0 | 12:2023-12-01 |
| Android | platform/frameworks/base | 12L:0 | 12L:2023-12-01 |
| Android | platform/frameworks/base | 13:0 | 13:2023-12-01 |
| Android | platform/frameworks/base | 14-next:0 | 14-next:2023-12-01 |
| Android | platform/frameworks/base | 14:0 | 14:2023-12-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-2025-48631 In onHeaderDecoded of LocalImageResolver.java, there is a possible persistent denial of… Also affects platform/frameworks/base
- CVE-2024-32896 there is a possible way to bypass due to a logic error in the code. Also affects platform/frameworks/base
- CVE-2024-0053 In getCustomPrinterIcon of PrintManagerService.java, there is a possible way to view… Also affects platform/frameworks/base
- CVE-2024-0048 In Session of AccountManagerService.java, there is a possible method to retain foreground… Also affects platform/frameworks/base
- CVE-2024-0046 In installExistingPackageAsUser of InstallPackageHelper.java, there is a possible carrier… Also affects platform/frameworks/base
- CVE-2023-40074 In saveToXml of PersistableBundle.java, invalid data could lead to local persistent… Also affects platform/frameworks/base
- CVE-2023-35668 In visitUris of Notification.java, there is a possible way to display images from another… Also affects platform/frameworks/base
- CVE-2023-40073 In visitUris of Notification.java, there is a possible cross-user media read due to… Also affects platform/frameworks/base