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.
References
Link | Resource |
---|---|
https://github.com/UltramanGaia/Xiaomi_Mi_WiFi_R3G_Vulnerability_POC/blob/master/remote_command_execution_vulnerability.py | Exploit Third Party Advisory |
Configurations
Configuration 1 (hide)
AND |
|
History
No history.
Information
Published : 2019-10-23 21:15
Updated : 2024-02-28 17:28
NVD link : CVE-2019-18370
Mitre link : CVE-2019-18370
CVE.ORG link : CVE-2019-18370
JSON object : View
Products Affected
mi
- millet_router_3g_firmware
- millet_router_3g
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')