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.
Related Pull Requests
- #14213 Merged Pull Request: Add disclosure date rubocop linting rule - enforce iso8601 disclosure dates
- #8716 Merged Pull Request: Print_Status -> Print_Good (And OCD bits 'n bobs)
- #8338 Merged Pull Request: Fix msf/core and self.class msftidy warnings
- #6812 Merged Pull Request: Resolve #6807, remove all OSVDB references.
- #6655 Merged Pull Request: use MetasploitModule as a class name
- #6648 Merged Pull Request: Change metasploit class names
- #2525 Merged Pull Request: Change module boilerplate
- #1935 Merged Pull Request: Cleanup on module names, descriptions.
- #1842 Merged Pull Request: Added CVE-2013-0229 for MiniUPnPd < 1.4
References
- CVE-2013-0229
- OSVDB (89625)
- BID-57607
- https://community.rapid7.com/servlet/JiveServlet/download/2150-1-16596/SecurityFlawsUPnP.pdf
See Also
Check also the following modules related to this module:
- auxiliary/admin/upnp/soap_portmapping
- auxiliary/scanner/upnp/ssdp_amp
- auxiliary/scanner/upnp/ssdp_msearch
- exploit/linux/http/dlink_upnp_exec_noauth
- exploit/linux/http/realtek_miniigd_upnp_exec_noauth
- exploit/linux/upnp/belkin_wemo_upnp_exec
- exploit/linux/upnp/dlink_dir859_exec_ssdpcgi
- exploit/linux/upnp/dlink_dir859_subscribe_exec
- exploit/linux/upnp/dlink_upnp_msearch_exec
- exploit/linux/upnp/miniupnpd_soap_bof
- exploit/multi/upnp/libupnp_ssdp_overflow
- exploit/osx/mdns/upnp_location
- auxiliary/dos/cisco/cisco_7937g_dos
- auxiliary/dos/http/apache_commons_fileupload_dos
- auxiliary/dos/http/apache_range_dos
- auxiliary/dos/http/brother_debut_dos
- auxiliary/dos/http/cable_haunt_websocket_dos
- auxiliary/dos/http/flexense_http_server_dos
- auxiliary/dos/http/gzip_bomb_dos
- auxiliary/dos/http/hashcollision_dos
- auxiliary/dos/http/metasploit_httphandler_dos
- auxiliary/dos/http/rails_json_float_dos
- auxiliary/dos/http/squid_range_dos
- auxiliary/dos/http/wordpress_directory_traversal_dos
- auxiliary/dos/http/wordpress_long_password_dos
- auxiliary/dos/http/wordpress_xmlrpc_dos
- auxiliary/dos/http/ws_dos
- auxiliary/dos/misc/ibm_sametime_webplayer_dos
- auxiliary/dos/misc/ibm_tsm_dos
- auxiliary/dos/ntp/ntpd_reserved_dos
- auxiliary/dos/pptp/ms02_063_pptp_dos
- auxiliary/dos/tcp/claymore_dos
- auxiliary/dos/windows/http/ms10_065_ii6_asp_dos
- auxiliary/scanner/ntp/ntp_peer_list_dos
- auxiliary/scanner/ntp/ntp_peer_list_sum_dos
- auxiliary/scanner/ntp/ntp_req_nonce_dos
- auxiliary/scanner/ntp/ntp_reslist_dos
- auxiliary/scanner/ntp/ntp_unsettrap_dos
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.