Android security tags, read closely by Lightrion

CVE-2023-40125 AI-generated analysis

platform/packages/apps/Settings, network/apn (ApnEditor fragment)

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

Adds a user-restriction gate to ApnEditor.onCreate in Settings so the APN editor finishes immediately when the current user is not an admin or carries the DISALLOW_CONFIG_MOBILE_NETWORKS restriction.

Root cause

ApnEditor (src/com/android/settings/network/apn/ApnEditor.java) did not consult UserManager in onCreate, so neither the admin-user status nor the DISALLOW_CONFIG_MOBILE_NETWORKS user restriction was enforced before the APN editing UI and the rest of fragment initialization ran. A non-admin or restricted user could therefore reach APN configuration that the restriction is meant to block.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to October 2023 · Findings