CVE-2022-20240
Low · 2.3CVSS
2.3
EPSS
0.1%
Published
Dec 13, 2022
CISA due date
—
Cloudanix analysis
A flaw in Android could let a highly privileged system process see location information it should not access.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Privilege Gain
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Missing permission check in AppOpsManager.java sOpAllowSystemRestrictionBypass method allows a process with system execution privileges to bypass location restriction and leak location data.
Why it matters to the business
Limited risk of unauthorized location data exposure on affected Android devices; requires system-level access so impact is confined to highly privileged local contexts with low prevalence of exploitation.
How an attack unfolds
An attacker already holding system execution privileges invokes the vulnerable AppOpsManager method to bypass the missing permission check and retrieve location information without additional user interaction.
How to fix it
Apply the latest Android security patches for Android 12 and 12L that address A-231496105; no specific fixed versions listed in the advisory.
How to confirm the fix worked
Review AppOpsManager.java for addition of the required permission check around sOpAllowSystemRestrictionBypass; confirm via Android security bulletin that the device has received the corresponding monthly patch.
Typical attack path
- Obtain system execution privileges on the device
- Invoke sOpAllowSystemRestrictionBypass in AppOpsManager
- Bypass location restriction due to absent permission check
- Exfiltrate leaked location data
How to detect it
Examine system logs for unexpected calls to AppOpsManager location-related methods from non-standard system contexts; review audit logs for location access without corresponding permission grants.
What your security team should do
- Prioritize deployment of current Android security updates across the fleet
- Audit any custom system applications for similar missing permission checks
- Monitor EPSS and KEV status for any change indicating increased risk
The record
In sOpAllowSystemRestrictionBypass of AppOpsManager.java, there is a possible leak of location information due to a missing permission check. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.Product: AndroidVersions: Android-12 Android-12LAndroid ID: A-231496105
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Android | platform/frameworks/base | 12:0 | 12:2022-12-01 |
| Android | platform/frameworks/base | 12L:0 | 12L:2022-12-01 |
| Android | platform/packages/modules/Wifi | 12:0 | 12:2022-12-01 |
| Android | platform/packages/modules/Wifi | 12L:0 | 12L:2022-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-40094 In keyguardGoingAway of ActivityTaskManagerService.java, there is a possible lock screen… 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