Android security tags, read closely by Lightrion

CVE-2024-23704 AI-generated analysis

platform/packages/apps/Settings, Wi-Fi settings (WifiDialogActivity)

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (2 corrections). Verify against the commit before relying on it.

WifiDialogActivity.onCreate now also finishes immediately when the user has the DISALLOW_ADD_WIFI_CONFIG user restriction, in addition to the existing DISALLOW_CONFIG_WIFI check.

Root cause

WifiDialogActivity.onCreate gated the activity only on isConfigWifiAllowed(), which checks the DISALLOW_CONFIG_WIFI user restriction. The separate DISALLOW_ADD_WIFI_CONFIG restriction was never consulted, so a user subject to that restriction could still be shown the Wi-Fi configuration dialog this activity hosts. That bypassed the device policy meant to prevent adding Wi-Fi configurations.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to April 2024 · Findings