Moxa Device Manager Tool MDM2_Gateway Response Remote Overflow - Nessus

High   Plugin ID: 52051

This page contains detailed information about the Moxa Device Manager Tool MDM2_Gateway Response Remote Overflow Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 52051
Name: Moxa Device Manager Tool MDM2_Gateway Response Remote Overflow
Filename: moxa_mdmtool_2_3.nbin
Vulnerability Published: 2010-10-20
This Plugin Published: 2011-02-21
Last Modification Time: 2022-05-03
Plugin Version: 1.180
Plugin Type: local
Plugin Family: SCADA
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: High
Vulnerability Published: 2010-10-20
Patch Published: 2010-11-10
CVE [?]: CVE-2010-4741
CPE [?]: N/A

Synopsis

The remote host contains an application that is affected by a buffer overflow vulnerability.

Description

The remote Windows host has a version earlier than 2.3 of the Moxa Device Manager (MDM) Tool, used for managing embedded industrial control systems across the Internet. Such versions are affected by a buffer overflow vulnerability that can be triggered using a specially crafted MDM2_Gateway response.

If an attacker can trick a user into connecting with the affected application to a malicious gateway, he can leverage this issue to execute arbitrary code on the affected host, subject to the user's privileges.

Solution

Upgrade to Moxa Device Manager Tool 2.3 or later.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Moxa Device Manager Tool MDM2_Gateway Response Remote Overflow vulnerability:

  1. Metasploit: exploit/windows/scada/moxa_mdmtool
    [MOXA Device Manager Tool 2.1 Buffer Overflow]
  2. Exploit-DB: exploits/windows/remote/16381.rb
    [EDB-16381: MOXA Device Manager Tool 2.1 - Remote Buffer Overflow (Metasploit)]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:M/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.3 (High)
Impact Subscore:10.0
Exploitability Subscore:8.6
CVSS Temporal Score:7.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.7 (High)

Go back to menu.

Plugin Source


The moxa_mdmtool_2_3.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2011-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/moxa_mdmtool_2_3.nbin
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\moxa_mdmtool_2_3.nbin
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/moxa_mdmtool_2_3.nbin

Go back to menu.

How to Run


Here is how to run the Moxa Device Manager Tool MDM2_Gateway Response Remote Overflow as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select SCADA plugin family.
  6. On the right side table select Moxa Device Manager Tool MDM2_Gateway Response Remote Overflow plugin ID 52051.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl moxa_mdmtool_2_3.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a moxa_mdmtool_2_3.nbin -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - moxa_mdmtool_2_3.nbin -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state moxa_mdmtool_2_3.nbin -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: Secunia Advisory: See also: Similar and related Nessus plugins:
  • 33201 - CitectSCADA ODBC Server Remote Buffer Overflow
  • 43614 - Netbiter Config NetbiterConfig.exe Device Hostname Remote Overflow
  • 50687 - RealWin < 2.1.10 Multiple Packet Type Processing Overflows
  • 81700 - Advantech ADAMView Multiple Buffer Overflow Vulnerabilities
  • 60084 - Advantech Studio ISSymbol ActiveX Control Multiple Buffer Overflow Vulnerabilities
  • 53573 - Modbus/TCP Master OPC Server MODBUS Protocol Response Packet Remote Overflow
  • 49694 - BACnet OPC Client < 1.0.25 Buffer Overflow
  • 23967 - ICONICS Dialog Wrapper Module ActiveX (DlgWrapper.dll) DoModal Function Overflow
  • 64296 - Schneider Electric Interactive Graphical SCADA System dc.exe Unspecified Buffer Overflow
  • 51360 - Ecava IntegraXor ActiveX save Method Buffer Overflow
  • 81553 - WellinTech KingSCADA < 3.1.2.13-EN 'kxNetDispose.dll' Buffer Overflow RCE
  • 59375 - WellinTech KingView 6.53 < 2010-12-15 HistorySvr.exe TCP Request Remote Overflow
  • 53543 - RealWin < 2.1.12 Multiple Buffer Overflows
  • 65603 - Schneider Electric Accutech Manager RFManagerService Heap Overflow
  • 55631 - Sielco Sistemi Winlog Pro < 2.07.01 TCP/IP Server Runtime.exe Packet Handling Remote Overflow

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file moxa_mdmtool_2_3.nbin version 1.180. For more plugins, visit the Nessus Plugin Library.

Go back to menu.