CVE-2024-23704: Bypass DISALLOW_ADD_WIFI_CONFIG in WifiDialogActivity
Summary
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 ↓
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 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 →
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.