CVE-2020-8858

Moxa MGate 5105-MB-EIP: Improper Neutralization of Special Elements used in an OS Command

8.8 high EPSS 8.58%

Published 13 Feb 2020 Updated 4 Aug 2024 CNA: zdi

Description

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.

Severity (CVSS)

8.8 high CVSS 3.0 from zdi (CNA)
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 8.58%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 95.1% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

Affected products

As the CNA lists them.

ProductVersions
MGate 5105-MB-EIP
affected firmware version 4.1

Is my server affected?

This CVE is in MGate 5105-MB-EIP of Moxa, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2020-8858 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.