CVE-2022-20137: Multiple users can share WI-FI and change WI-FI network in platform/packages/apps/Settings

Summary

01/06/2022
Yes i
High
Not published

CVE-2022-20137: In onCreateContextMenu of NetworkProviderSettings.java, there is a possible way for non-owner users to change WiFi settings due to a missing permission check. Affects platform/packages/apps/Settings across 3 version ranges.

>= 12:0, < 12:2022-06-01 >= 12L:0, < 12L:2022-06-01 >= 12L-next:0, < 12L-next:2022-06-01

Fixed in 12L-next:2022-06-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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The platform/packages/apps/Settings package is a part of the Android ecosystem and is responsible for managing various settings on an Android device. It provides a user interface for configuring system settings, including network settings such as WI-FI. This package is vulnerable to a privilege escalation vulnerability that allows non-owner users to change WI-FI settings without proper permission checks.

Vulnerability Detail

The vulnerability exists in the onCreateContextMenu function of the NetworkProviderSettings.java file. Due to a missing permission check, non-owner users can exploit this vulnerability to change WI-FI settings, leading to a local escalation of privilege. The exploitation requires user interaction, and the attacker needs User execution privileges. This vulnerability can have severe consequences as it allows unauthorized users to modify WI-FI network settings, potentially compromising network security and privacy.

How To Fix

Minimum fixed version

12L-next:2022-06-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

There is no specific workaround mentioned for this vulnerability. However, users can protect themselves by ensuring that their Android devices are updated with the latest security patches and system updates. Regularly checking for and installing updates from the device manufacturer or official sources can help mitigate the risk of exploitation.

Conclusion

The platform/packages/apps/Settings package in Android is vulnerable to a privilege escalation vulnerability that allows non-owner users to change WI-FI settings without proper permission checks. This can lead to a local escalation of privilege and compromise network security and privacy. Developers should update the package to the fixed version to mitigate the risk of exploitation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for platform/packages/apps/Settings →

Share this vulnerability

FAQ

This vulnerability allows non-owner users to change WI-FI settings on an Android device, potentially compromising network security and privacy.

Any Android device running an affected version of the platform/packages/apps/Settings package is vulnerable to this issue.

Yes, user interaction is needed for the exploitation of this vulnerability.

User execution privileges are needed for the successful exploitation of this vulnerability.

There are no known instances of this vulnerability being exploited in the wild at the time of this report.

Related vulnerabilities

Recent vulnerabilities recorded for platform/packages/apps/Settings.

How To Fix

Minimum fixed version

12L-next:2022-06-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