CVE-2022-21745

8.8 HIGH

📋 TL;DR

This vulnerability in MediaTek WIFI firmware allows remote attackers to execute arbitrary code with elevated privileges when devices connect to malicious Wi-Fi hotspots. It affects devices using vulnerable MediaTek Wi-Fi chipsets. No user interaction is required for exploitation.

💻 Affected Systems

Products:
  • MediaTek Wi-Fi chipsets and devices using them
Versions: Specific firmware versions not publicly detailed in advisory
Operating Systems: Android, Linux-based systems using MediaTek Wi-Fi
Default Config Vulnerable: ⚠️ Yes
Notes: Affects devices with vulnerable MediaTek Wi-Fi firmware when Wi-Fi is enabled.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device compromise with kernel-level privileges, allowing persistent backdoor installation, data theft, and device control.

🟠

Likely Case

Remote code execution leading to data exfiltration, surveillance, or device enrollment in botnets.

🟢

If Mitigated

Limited impact if devices only connect to trusted networks and have network segmentation.

🌐 Internet-Facing: HIGH - Exploitable via public Wi-Fi hotspots without authentication.
🏢 Internal Only: MEDIUM - Requires attacker-controlled Wi-Fi within physical range.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: MEDIUM

Requires setting up malicious Wi-Fi hotspot within range of target device.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Firmware with patch ID ALPS06468872

Vendor Advisory: https://corp.mediatek.com/product-security-bulletin/June-2022

Restart Required: Yes

Instructions:

1. Check device manufacturer for firmware updates. 2. Apply Wi-Fi firmware update from device vendor. 3. Reboot device after update.

🔧 Temporary Workarounds

Disable Wi-Fi auto-connect

all

Prevent automatic connection to unknown Wi-Fi networks

Device-specific settings configuration

Use trusted networks only

all

Configure devices to only connect to pre-approved, secured Wi-Fi networks

Network whitelisting configuration

🧯 If You Can't Patch

  • Disable Wi-Fi when not in use or in untrusted environments
  • Implement network segmentation to isolate vulnerable devices

🔍 How to Verify

Check if Vulnerable:

Check device specifications for MediaTek Wi-Fi chipset and firmware version against vendor advisory

Check Version:

Device-specific commands (e.g., Android: Settings > About phone > Wi-Fi firmware version)

Verify Fix Applied:

Verify firmware version includes patch ID ALPS06468872 in system information

📡 Detection & Monitoring

Log Indicators:

  • Unexpected Wi-Fi connection attempts
  • Firmware crash logs
  • Memory corruption errors in system logs

Network Indicators:

  • Devices connecting to suspicious Wi-Fi SSIDs
  • Unusual network traffic from Wi-Fi interfaces

SIEM Query:

source="system_logs" ("Wi-Fi firmware" OR "mediatek") ("crash" OR "memory corruption" OR "use after free")

🔗 References

📤 Share & Export