MiniUPnPd 1.4 Denial of Service (DoS) Exploit - Metasploit


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

Module Overview


Name: MiniUPnPd 1.4 Denial of Service (DoS) Exploit
Module: auxiliary/dos/upnp/miniupnpd_dos
Source code: modules/auxiliary/dos/upnp/miniupnpd_dos.rb
Disclosure date: 2013-03-27
Last modification time: 2020-10-02 17:38:06 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 1900
List of CVEs: CVE-2013-0229

This module allows remote attackers to cause a denial of service (DoS) in MiniUPnP 1.0 server via a specifically crafted UDP request.

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/upnp/miniupnpd_dos
msf auxiliary(miniupnpd_dos) > show targets
    ... a list of targets ...
msf auxiliary(miniupnpd_dos) > set TARGET target-id
msf auxiliary(miniupnpd_dos) > show options
    ... show and set options ...
msf auxiliary(miniupnpd_dos) > 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/upnp/miniupnpd_dos auxiliary module looks in the msfconsole:

msf6 > use auxiliary/dos/upnp/miniupnpd_dos

msf6 auxiliary(dos/upnp/miniupnpd_dos) > show info

       Name: MiniUPnPd 1.4 Denial of Service (DoS) Exploit
     Module: auxiliary/dos/upnp/miniupnpd_dos
    License: Metasploit Framework License (BSD)
       Rank: Normal
  Disclosed: 2013-03-27

Provided by:
  hdm <[email protected]>
  Dejan Lukan

Check supported:
  No

Basic options:
  Name      Current Setting  Required  Description
  ----      ---------------  --------  -----------
  ATTEMPTS  3                yes       Max number of attempts to DoS the remote MiniUPnP ending
  RHOSTS                     yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
  RPORT     1900             yes       The target port (UDP)

Description:
  This module allows remote attackers to cause a denial of service 
  (DoS) in MiniUPnP 1.0 server via a specifically crafted UDP request.

References:
  https://nvd.nist.gov/vuln/detail/CVE-2013-0229
  OSVDB (89625)
  http://www.securityfocus.com/bid/57607
  https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf

Module Options


This is a complete list of options available in the dos/upnp/miniupnpd_dos auxiliary module:

msf6 auxiliary(dos/upnp/miniupnpd_dos) > show options

Module options (auxiliary/dos/upnp/miniupnpd_dos):

   Name      Current Setting  Required  Description
   ----      ---------------  --------  -----------
   ATTEMPTS  3                yes       Max number of attempts to DoS the remote MiniUPnP ending
   RHOSTS                     yes       The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
   RPORT     1900             yes       The target port (UDP)

Advanced Options


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

msf6 auxiliary(dos/upnp/miniupnpd_dos) > show advanced

Module advanced options (auxiliary/dos/upnp/miniupnpd_dos):

   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/upnp/miniupnpd_dos module can do:

msf6 auxiliary(dos/upnp/miniupnpd_dos) > show actions

Auxiliary actions:

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

Evasion Options


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

msf6 auxiliary(dos/upnp/miniupnpd_dos) > 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> - UPnP end not found


Here is a relevant code snippet related to the "<RHOST>:<RPORT> - UPnP end not found" error message:

71:	    connect_udp
72:	
73:	    print_status("#{rhost}:#{rport} - Checking UPnP...")
74:	    response = send_probe(udp_sock, msearch_probe)
75:	    if response.nil?
76:	      print_error("#{rhost}:#{rport} - UPnP end not found")
77:	      disconnect_udp
78:	      return
79:	    end
80:	
81:	    (1..datastore['ATTEMPTS']).each { |attempt|

Go back to menu.


References


See Also


Check also the following modules related to this module:

Related Nessus plugins:

Authors


  • hdm
  • Dejan Lukan

Version


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

Go back to menu.