CVE-2021-37097
📋 TL;DR
This CVE describes a code injection vulnerability in Huawei smartphones running HarmonyOS. Successful exploitation could allow an attacker to execute arbitrary code, potentially leading to system restarts or other malicious activities. Affected users include those with vulnerable Huawei smartphone models.
💻 Affected Systems
- Huawei smartphones running HarmonyOS
📦 What is this software?
Emui by Huawei
Emui by Huawei
Emui by Huawei
Emui by Huawei
Emui by Huawei
Emui by Huawei
Harmonyos by Huawei
Magic Ui by Huawei
Magic Ui by Huawei
Magic Ui by Huawei
Magic Ui by Huawei
Magic Ui by Huawei
⚠️ Risk & Real-World Impact
Worst Case
An attacker could execute arbitrary code with system privileges, potentially leading to complete device compromise, data theft, or persistent malware installation.
Likely Case
Local code execution leading to system instability, crashes, or denial of service through forced restarts.
If Mitigated
With proper patching and security controls, the vulnerability is neutralized with no impact.
🎯 Exploit Status
Exploitation likely requires local access or tricking user into installing malicious application. No public exploit code identified.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: HarmonyOS security updates from September/October 2021
Vendor Advisory: https://consumer.huawei.com/en/support/bulletin/2021/10/
Restart Required: Yes
Instructions:
1. Check for system updates in Settings > System & updates > Software update. 2. Install available security updates. 3. Restart device as prompted.
🔧 Temporary Workarounds
Disable unknown sources
allPrevent installation of apps from unknown sources to reduce attack surface
Use app verification
allEnable app verification features in security settings
🧯 If You Can't Patch
- Restrict physical access to devices
- Implement mobile device management (MDM) with strict app installation policies
🔍 How to Verify
Check if Vulnerable:
Check HarmonyOS version in Settings > About phone > HarmonyOS version. Compare against patched versions in Huawei security bulletins.
Check Version:
Settings > About phone > HarmonyOS version
Verify Fix Applied:
Verify HarmonyOS version is updated to September/October 2021 security patch level or later.
📡 Detection & Monitoring
Log Indicators:
- Unexpected system restarts
- Suspicious app installation attempts
- Security framework exceptions
Network Indicators:
- Unusual network connections from mobile device
- Communication with known malicious domains
SIEM Query:
device.vendor:"Huawei" AND event.action:"restart" OR event.category:"malware"
🔗 References
- https://consumer.huawei.com/en/support/bulletin/2021/10/
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-202109-0000001196270727
- https://consumer.huawei.com/en/support/bulletin/2021/10/
- https://device.harmonyos.com/en/docs/security/update/security-bulletins-202109-0000001196270727