CVE-2021-0602

7.8 HIGH

📋 TL;DR

This vulnerability allows guest users on Android devices to view and modify Wi-Fi settings for all configured access points due to a permissions bypass in the WifiNetworkDetailsFragment. This could lead to local privilege escalation without requiring additional execution privileges. Affects Android 10 and 11 devices.

💻 Affected Systems

Products:
  • Android
Versions: Android 10 and 11
Operating Systems: Android
Default Config Vulnerable: ⚠️ Yes
Notes: Affects devices with guest user functionality enabled. Requires guest user account to be created and used.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Guest user gains administrative control over Wi-Fi settings, could connect to malicious networks, modify enterprise configurations, or disrupt network connectivity for all users.

🟠

Likely Case

Guest user views saved Wi-Fi networks, modifies personal device settings, or connects to unauthorized networks.

🟢

If Mitigated

Guest users remain restricted to their intended limited access with no ability to modify system Wi-Fi settings.

🌐 Internet-Facing: LOW - Exploitation requires physical or local device access, not remote network access.
🏢 Internal Only: HIGH - Local device access allows privilege escalation affecting all users on the device.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires guest user access to the device but no special technical skills. User interaction is not needed for exploitation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Android Security Patch Level July 2021 or later

Vendor Advisory: https://source.android.com/security/bulletin/2021-07-01

Restart Required: Yes

Instructions:

1. Check current Android security patch level in Settings > About phone > Android version. 2. Install July 2021 or later security update via Settings > System > System update. 3. Reboot device after update installation.

🔧 Temporary Workarounds

Disable Guest User Mode

android

Remove guest user functionality to prevent exploitation vector

Navigate to Settings > System > Multiple users > Guest > Remove guest

Restrict Wi-Fi Settings Access

android

Use device management policies to restrict guest user permissions

Use Android Enterprise or MDM solutions to enforce restricted profiles

🧯 If You Can't Patch

  • Disable guest user accounts entirely on all affected devices
  • Implement physical security controls to prevent unauthorized device access

🔍 How to Verify

Check if Vulnerable:

Check Android version and security patch level: Settings > About phone > Android version. If Android 10 or 11 with patch level before July 2021, device is vulnerable.

Check Version:

adb shell getprop ro.build.version.security_patch

Verify Fix Applied:

Confirm Android security patch level is July 2021 or later in Settings > About phone > Android version.

📡 Detection & Monitoring

Log Indicators:

  • Guest user accessing Wi-Fi settings menus
  • Unauthorized Wi-Fi configuration changes in system logs

Network Indicators:

  • Guest user device connecting to unexpected Wi-Fi networks

SIEM Query:

source="android_system" AND (event="wifi_config_change" OR event="settings_access") AND user="guest"

🔗 References

📤 Share & Export