CVE-2022-20348: UserManager.DISALLOW_CONFIG_WIFI Bypass in LocationServicesWifiScanningPreferenceController

Summary

01/08/2022
Yes i
High
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback