CVE-2019-5140 Command injection in Moxa
Authenticated low-privilege users can execute arbitrary commands on Moxa AWK-3131A devices via crafted diagnostic script filenames.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2019-5140?
CVE-2019-5140 is a high-severity command injection vulnerability in Moxa, published on 25 Feb 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An exploitable command injection vulnerability exists in the iwwebs functionality of the Moxa AWK-3131A firmware version 1.13. A specially crafted diagnostic script file name can cause user input to be reflected in a subsequent iwsystem call, resulting in remote control over the device. An attacker can send commands while authenticated as a low privilege user to trigger this vulnerability.
Weakness: CWE-78
Which versions are affected by CVE-2019-5140?
It affects 1 product.
Products include Moxa Awk-3131a Firmware.
How do I fix CVE-2019-5140?
No fix has been published for CVE-2019-5140 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2019-5140 being exploited?
There is no known exploitation of CVE-2019-5140 in the wild and no public exploit code.
Other vulnerabilities in Moxa
Sources
Also known as GHSA-q6cx-g4rm-cc6q.