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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2019-10-23T20:01:55
Updated: 2019-10-23T20:01:55
Reserved: 2019-10-23T00:00:00
Link: CVE-2019-18370
JSON object: View
NVD Information
Status : Analyzed
Published: 2019-10-23T21:15:10.760
Modified: 2021-07-21T11:39:23.747
Link: CVE-2019-18370
JSON object: View
Redhat Information
No data.
CWE