RCE in Moxa Mgate 5105-Mb-Eip

CVE-2020-8858

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Moxa MGate 5105-MB-EIP firmware version 4.1. Authentication is required to exploit this vulnerability. The specific flaw exists within the DestIP parameter within MainPing.asp. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-9552.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.074 (93.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-8858?
CVE-2020-8858 is a high-severity vulnerability in Moxa Mgate 5105-Mb-Eip, classified under OS Command Injection. CVSS score: 8.8/10. Published 2020-02-14.
How severe is CVE-2020-8858?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2020-8858 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.