CVE-2019-5138 Command injection in Moxa

Critical 9.9 Published Updated

An authenticated low-privilege user can execute arbitrary commands via a crafted diagnostic script, leading to remote control of the device.

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-5138?

CVE-2019-5138 is a critical 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 encrypted diagnostic script functionality of the Moxa AWK-3131A firmware version 1.13. A specially crafted diagnostic script file can cause arbitrary busybox commands to be executed, resulting in remote control over the device. An attacker can send diagnostic while authenticated as a low privilege user to trigger this vulnerability.

Weakness: CWE-78

Which versions are affected by CVE-2019-5138?

It affects 1 product.

Products include Moxa Awk-3131a Firmware.

How do I fix CVE-2019-5138?

No fix has been published for CVE-2019-5138 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-5138 being exploited?

There is no known exploitation of CVE-2019-5138 in the wild and no public exploit code.

Sources

Also known as GHSA-rfr7-5wcc-v3x3.

Is CVE-2019-5138 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free