What’s Vulnerable › Vulnerabilities
CVE-2019-18370
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 40.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-10-23 · updated 2026-06-17
- Weakness: CWE-78
Description
An issue was discovered on Xiaomi Mi WiFi R3G devices before 2.28.23-stable. The backup file is in tar.gz format. After uploading, the application uses the tar zxf command to decompress, so one can control the contents of the files in the decompressed directory. In addition, the application's sh script for testing upload and download speeds reads a URL list from /tmp/speedtest_urls.xml, and there is a command injection vulnerability, as demonstrated by api/xqnetdetect/netspeed.
Affected products
- Millet Router 3G Firmware: before 2.28.23 — fixed in 2.28.23
How to fix
Upgrade to a fixed version: Millet Router 3G Firmware 2.28.23. Check the vendor advisory for mitigations.
References
- https://github.com/UltramanGaia/Xiaomi_Mi_WiFi_R3G_Vulnerability_POC/blob/master/remote_command_execution_vulnerability.py
- https://github.com/UltramanGaia/Xiaomi_Mi_WiFi_R3G_Vulnerability_POC/blob/master/remote_command_execution_vulnerability.py
Get alerted when CVE-2019-18370 or the next vulnerability affects your stack