Moxa MGate 5105-MB-EIP DestIP Command Injection Remote Code Execution (CVE-2020-8858)

high Tenable OT Security Plugin ID 501487

Synopsis

The remote OT asset is affected by a vulnerability.

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.

This plugin only works with Tenable.ot.
Please visit https://www.tenable.com/products/tenable-ot for more information.

Solution

Refer to the vendor advisory.

See Also

http://www.nessus.org/u?608ec18c

https://www.zerodayinitiative.com/advisories/ZDI-20-214/

Plugin Details

Severity: High

ID: 501487

Version: 1.4

Type: remote

Family: Tenable.ot

Published: 8/2/2023

Updated: 12/5/2024

Supported Sensors: Tenable OT Security

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2020-8858

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:moxa:mgate_5105-mb-eip-t_firmware, cpe:/o:moxa:mgate_5105-mb-eip_firmware

Required KB Items: Tenable.ot/Moxa

Exploit Ease: No known exploits are available

Patch Publication Date: 2/14/2020

Vulnerability Publication Date: 2/14/2020

Reference Information

CVE: CVE-2020-8858

CWE: 78