CVE-2022-20348: UserManager.DISALLOW_CONFIG_WIFI Bypass in LocationServicesWifiScanningPreferenceController
Summary
CVE-2022-20348: In updateState of LocationServicesWifiScanningPreferenceController.java, there is a possible admin restriction bypass due to a missing permission check. Affects platform/packages/apps/Settings across 4 version ranges.
>= 10:0, < 10:2022-08-01
>= 11:0, < 11:2022-08-01
>= 12:0, < 12:2022-08-01
>= 12L:0, < 12L:2022-08-01
Fixed in 10:2022-08-01. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The impacted package is platform/packages/apps/Settings in the Android ecosystem. This package is responsible for managing various settings and preferences on Android devices. One of its functionalities is handling the location services and related preferences. The vulnerability affects the LocationServicesWifiScanningPreferenceController component within the package.
Vulnerability Detail
The vulnerability allows for a bypass of the admin restriction imposed by UserManager.DISALLOW_CONFIG_WIFI. This means that even if the user is restricted from modifying WiFi scanning settings, an attacker can exploit this vulnerability to modify those settings without requiring any additional execution privileges. The vulnerability exists in the updateState function of LocationServicesWifiScanningPreferenceController.java. Exploiting this vulnerability can lead to a local escalation of privilege, potentially allowing an attacker to gain elevated privileges on the device. It is important to note that user interaction is not necessary for the exploitation of this vulnerability.
How To Fix
Minimum fixed version
10:2022-08-01
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
No workaround has been provided for this vulnerability.
Conclusion
In conclusion, the vulnerability CVE-2022-20348 allows for a bypass of the admin restriction on WiFi scanning settings in the LocationServicesWifiScanningPreferenceController component of the platform/packages/apps/Settings package. This can lead to a local escalation of privilege. It is recommended to update the package to a version that includes the fixes provided by the Android team. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/packages/apps/Settings →
FAQ
The impacted package is platform/packages/apps/Settings in the Android ecosystem.
The vulnerability affects the LocationServicesWifiScanningPreferenceController component within the package.
The vulnerability allows for a bypass of the admin restriction on WiFi scanning settings, potentially leading to a local escalation of privilege.
No, user interaction is not needed for the exploitation of this vulnerability.
The vulnerability can be fixed by applying the provided fixes for the affected package.
Related vulnerabilities
Recent vulnerabilities recorded for platform/packages/apps/Settings.