CVE-2019-18371 Path traversal in n/a
Attackers can read arbitrary files and bypass authentication on Xiaomi Mi WiFi R3G routers via a directory traversal vulnerability in NGINX configuration.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-18371?
CVE-2019-18371 is a high-severity path traversal vulnerability in n/a, published on 23 Oct 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered on Xiaomi Mi WiFi R3G devices before 2.28.23-stable. There is a directory traversal vulnerability to read arbitrary files via a misconfigured NGINX alias, as demonstrated by api-third-party/download/extdisks../etc/config/account. With this vulnerability, the attacker can bypass authentication.
Weakness: CWE-22
Which versions are affected by CVE-2019-18371?
It affects 1 product.
Products include Mi Millet Router 3g Firmware.
How do I fix CVE-2019-18371?
No fix has been published for CVE-2019-18371 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-18371 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-18371 exists.
Public exploit code: 1 Nuclei template and 2 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6h3g-375j-8gv3.