// For flags

CVE-2020-8858

Moxa MGate 5105-MB-EIP DestIP Command Injection Remote Code Execution Vulnerability

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Esta vulnerabilidad permite a atacantes remotos ejecutar código arbitrario en las instalaciones afectadas de Moxa MGate 5105-MB-EIP versión de firmware 4.1. Es requerida una autenticación para explotar esta vulnerabilidad. El fallo específico se presenta dentro del parámetro DestIP dentro del archivo MainPing.asp. El problema resulta de una falta de comprobación apropiada de una cadena suministrada por parte del usuario antes de usarla para ejecutar una llamada al sistema. Un atacante puede aprovechar esta vulnerabilidad para ejecutar código en el contexto de root. Fue ZDI-CAN-9552.

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Moxa MGate 5105-MB-EIP. 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.

*Credits: Dove Chiu, Philippe Lin, Charles Perine, Marco Balduzzi, Ryan Flores, Rainer Vosseler
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2020-02-11 CVE Reserved
  • 2020-02-11 CVE Published
  • 2024-08-04 CVE Updated
  • 2024-10-10 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Moxa
Search vendor "Moxa"
Mgate 5105-mb-eip Firmware
Search vendor "Moxa" for product "Mgate 5105-mb-eip Firmware"
<= 4.1
Search vendor "Moxa" for product "Mgate 5105-mb-eip Firmware" and version " <= 4.1"
-
Affected
in Moxa
Search vendor "Moxa"
Mgate 5105-mb-eip
Search vendor "Moxa" for product "Mgate 5105-mb-eip"
--
Safe
Moxa
Search vendor "Moxa"
Mgate 5105-mb-eip-t Firmware
Search vendor "Moxa" for product "Mgate 5105-mb-eip-t Firmware"
<= 4.1
Search vendor "Moxa" for product "Mgate 5105-mb-eip-t Firmware" and version " <= 4.1"
-
Affected
in Moxa
Search vendor "Moxa"
Mgate 5105-mb-eip-t
Search vendor "Moxa" for product "Mgate 5105-mb-eip-t"
--
Safe