CVE-2023-21034
High · 7.8CVSS
7.8
EPSS
0.1%
Published
Mar 24, 2023
CISA due date
—
Cloudanix analysis
A flaw on certain Android phones lets apps grab detailed motion or location sensor readings they should not access, which could let them learn more about a user than intended.
- Exploitation
- Local Privilege
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Permissions bypass in multiple SensorService.cpp functions allows unauthorized access to accurate sensor data, enabling local privilege escalation from user context without interaction.
Why it matters to the business
Android devices running version 13 face elevated risk of unauthorized sensor data exposure, which can compromise user privacy and enable further local attacks; the issue remains unfixed in listed versions with low observed exploitation likelihood.
How an attack unfolds
An attacker with an installed app executes code that invokes the vulnerable sensor service functions, bypassing permission checks to read high-accuracy sensor values and potentially chain into broader privilege escalation on the device.
How to fix it
Update affected Android devices to the latest available version beyond Android-13 where the sensor service permissions checks have been corrected; apply vendor security patches promptly.
How to confirm the fix worked
Confirm devices are running patched Android releases; review app permission enforcement logs and test sensor access controls with standard developer tools to verify bypass is closed.
Typical attack path
- Obtain user-level code execution via a malicious or compromised app
- Invoke SensorService functions to trigger the permissions bypass
- Read accurate sensor data without required permissions
- Use obtained data to support further local attacks or information gathering
How to detect it
Examine Android system logs for unexpected SensorService calls from non-privileged apps; look for permission audit failures or anomalous sensor data access patterns in device logs.
What your security team should do
- Prioritize patching Android-13 devices to current releases
- Monitor for any future EPSS increase or KEV addition given the stable low score
- Enforce least-privilege app permissions and review sensor data usage in enterprise policies
The record
In multiple functions of SensorService.cpp, there is a possible access of accurate sensor data due to a permissions bypass. This could lead to local escalation of privilege with User execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-13Android ID: A-230358834
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Android | platform/frameworks/native | 13:0 | 13:2023-03-01 |
| Ubuntu:22.04:LTS | android-platform-tools | 0 | No fix |
| Ubuntu:24.04:LTS | android-platform-tools | 0 | No fix |
| Ubuntu:24.10 | android-platform-tools | 0 | No fix |
Related vulnerabilities
- CVE-2023-21031 In setPowerMode of HWC2.cpp, there is a possible out of bounds read due to a race… Also affects platform/frameworks/native
- CVE-2022-20502 In GetResolvedMethod of entrypoint_utils-inl.h, there is a possible use after free due to… Also affects android-platform-tools
- CVE-2022-20128 [Unknown description] Also affects android-platform-tools
- CVE-2026-96398 Incorrect Authorization vulnerability in Drupal Webform allows Forceful Browsing. CWE-863
- CVE-2026-96384 Incorrect Authorization vulnerability in Drupal Mermaid Diagram Field allows Forceful… CWE-863
- CVE-2026-96370 Incorrect Authorization vulnerability in Drupal Webform allows Server Side Request… CWE-863
- CVE-2026-96373 Incorrect Authorization vulnerability in Drupal Webform allows Forceful Browsing. CWE-863
- CVE-2026-96366 Incorrect Authorization vulnerability in Drupal Webform allows Forceful Browsing. CWE-863