CVE-2024-23704: Bypass DISALLOW_ADD_WIFI_CONFIG in WifiDialogActivity

Summary

01/04/2024
Yes i
High
Not published

CVE-2024-23704: In onCreate of WifiDialogActivity.java, there is a possible way to bypass the DISALLOW_ADD_WIFI_CONFIG restriction due to a missing permission check. Affects platform/packages/apps/Settings across 3 version ranges.

>= 13:0, < 13:2024-04-01 >= 14:0, < 14:2024-04-01 >= 14-next:0, < 14-next:2024-04-01

Fixed in 14-next:2024-04-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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The package under scrutiny is platform/packages/apps/Settings in the Android ecosystem. This package is responsible for managing various settings on an Android device, including Wi-Fi configurations. The WifiDialogActivity is a component within this package that allows users to view and modify Wi-Fi settings. It enforces certain restrictions, such as DISALLOW_ADD_WIFI_CONFIG, to prevent unauthorized access to Wi-Fi networks.

Vulnerability Detail

The vulnerability exists in the onCreate method of WifiDialogActivity.java, where a missing permission check allows for bypassing the DISALLOW_ADD_WIFI_CONFIG restriction. This means that an attacker can connect to an untrusted Wi-Fi network without the necessary privileges. Exploiting this vulnerability does not require user interaction and can lead to local escalation of privilege. The impact of this vulnerability is significant as it undermines the security measures put in place to protect users from connecting to malicious Wi-Fi networks.

How To Fix

Minimum fixed version

14-next:2024-04-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.

Conclusion

The vulnerability in WifiDialogActivity allows for the bypassing of the DISALLOW_ADD_WIFI_CONFIG restriction, enabling unauthorized connection to untrusted Wi-Fi networks. It is crucial to update to the latest version of the platform/packages/apps/Settings package to apply the fix and mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The impact of this vulnerability is significant as it allows an attacker to bypass the DISALLOW_ADD_WIFI_CONFIG restriction and connect to untrusted Wi-Fi networks. This can lead to local escalation of privilege and compromise the security of the device.

No, exploiting this vulnerability does not require user interaction.

Versions 13.0 and 14.0 of the platform/packages/apps/Settings package are affected.

There are no known instances of this vulnerability being exploited at the moment.

Yes, a fix has been released in versions 13.0 and 14.0 of the platform/packages/apps/Settings package.

Related vulnerabilities

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

How To Fix

Minimum fixed version

14-next:2024-04-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