CVE-2020-8858: Moxa MGate 5105-MB-EIP DestIP Command Injection Remote Code Execution Vulnerability

Published Feb 13, 2020
·
Updated

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.

Affected Software

8 affected components
MOXA MGate 5105-MB-EIP firmware<=4.1
MOXA MGate 5105-MB-EIP
MOXA Mgate 5105-mb-eip-t Firmware<=4.1
MOXA Mgate 5105-mb-eip-t
All of the following
MOXA MGate 5105-MB-EIP firmware<=4.1
MOXA MGate 5105-MB-EIP
All of the following
MOXA Mgate 5105-mb-eip-t Firmware<=4.1
MOXA Mgate 5105-mb-eip-t

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Moxa MGate 5105-MB-EIP to a version that resolves this vulnerability.

    Fixed in 4.1Patch ZDI-CAN-9552

Event History

Feb 13, 2020
CVE Published
via MITRE·10:20 PM
Data Sourced
via MITRE·10:20 PM
DescriptionSeverityWeakness
Feb 14, 2020
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 29, 2026
Advisory Published
via ZDI·03:42 AM
Data Sourced
via ZDI·03:42 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2020-8858?

CVE-2020-8858 has a high severity rating due to the potential for remote code execution by authenticated attackers.

2

How do I fix CVE-2020-8858?

To fix CVE-2020-8858, update the Moxa MGate 5105-MB-EIP firmware to the latest version beyond 4.1.

3

What products are affected by CVE-2020-8858?

CVE-2020-8858 affects Moxa MGate 5105-MB-EIP devices running firmware version 4.1.

4

Is authentication required to exploit CVE-2020-8858?

Yes, authentication is required to exploit the vulnerability identified in CVE-2020-8858.

5

What is the main issue in CVE-2020-8858?

The main issue in CVE-2020-8858 exists within the DestIP parameter in MainPing.asp, allowing for arbitrary code execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203