Android security tags, read closely by Lightrion

CVE-2024-31332 AI-generated analysis

platform/packages/apps/Settings, Wi-Fi (Wi-Fi DPP configurator and Add Network UI)

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 (7 corrections). Verify against the commit before relying on it.

Settings now checks the DISALLOW_ADD_WIFI_CONFIG user restriction in WifiDppConfiguratorActivity (onCreate and handleIntent) and AddNetworkFragment (onCreate), and finishes the activity when the restriction is set, so a restricted user can no longer use these UI entry points to add Wi-Fi configurations.

Root cause

WifiDppConfiguratorActivity and AddNetworkFragment in Settings let users reach Wi-Fi network configuration flows (DPP/QR provisioning and the manual add-network form) without checking UserManager.hasUserRestriction(DISALLOW_ADD_WIFI_CONFIG). WifiDppConfiguratorActivity.handleIntent only rejected guest users (isGuestUser). As a result, a user with the admin-set DISALLOW_ADD_WIFI_CONFIG restriction could still reach these flows. The bulletin rates this as High severity EoP.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to July 2024 · Findings