Avahi Source Port 0 DoS - Metasploit
This page contains detailed information about how to use the auxiliary/dos/mdns/avahi_portzero metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Avahi Source Port 0 DoS
Module: auxiliary/dos/mdns/avahi_portzero
Source code: modules/auxiliary/dos/mdns/avahi_portzero.rb
Disclosure date: 2008-11-14
Last modification time: 2017-07-24 06:26:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): 5353
List of CVEs: CVE-2008-5081
Avahi-daemon versions prior to 0.6.24 can be DoS'd with an mDNS packet with a source port of 0.
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/mdns/avahi_portzero
msf auxiliary(avahi_portzero) > show targets
... a list of targets ...
msf auxiliary(avahi_portzero) > set TARGET target-id
msf auxiliary(avahi_portzero) > show options
... show and set options ...
msf auxiliary(avahi_portzero) > 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/mdns/avahi_portzero auxiliary module looks in the msfconsole:
msf6 > use auxiliary/dos/mdns/avahi_portzero
msf6 auxiliary(dos/mdns/avahi_portzero) > show info
Name: Avahi Source Port 0 DoS
Module: auxiliary/dos/mdns/avahi_portzero
License: Metasploit Framework License (BSD)
Rank: Normal
Disclosed: 2008-11-14
Provided by:
kris katterjohn <[email protected]>
Check supported:
No
Basic options:
Name Current Setting Required Description
---- --------------- -------- -----------
INTERFACE no The name of the interface
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 5353 yes The destination port
SNAPLEN 65535 yes The number of bytes to capture
TIMEOUT 500 yes The number of seconds to wait for new data
Description:
Avahi-daemon versions prior to 0.6.24 can be DoS'd with an mDNS
packet with a source port of 0.
References:
https://nvd.nist.gov/vuln/detail/CVE-2008-5081
OSVDB (50929)
Module Options
This is a complete list of options available in the dos/mdns/avahi_portzero auxiliary module:
msf6 auxiliary(dos/mdns/avahi_portzero) > show options
Module options (auxiliary/dos/mdns/avahi_portzero):
Name Current Setting Required Description
---- --------------- -------- -----------
INTERFACE no The name of the interface
RHOSTS yes The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
RPORT 5353 yes The destination port
SNAPLEN 65535 yes The number of bytes to capture
TIMEOUT 500 yes The number of seconds to wait for new data
Advanced Options
Here is a complete list of advanced options supported by the dos/mdns/avahi_portzero auxiliary module:
msf6 auxiliary(dos/mdns/avahi_portzero) > show advanced
Module advanced options (auxiliary/dos/mdns/avahi_portzero):
Name Current Setting Required Description
---- --------------- -------- -----------
GATEWAY_PROBE_HOST 8.8.8.8 yes Send a TTL=1 random UDP datagram to this host to discover the default gateway's MAC
GATEWAY_PROBE_PORT no The port on GATEWAY_PROBE_HOST to send a random UDP probe to (random if 0 or unset)
SECRET 1297303073 yes A 32-bit cookie for probe requests.
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/mdns/avahi_portzero module can do:
msf6 auxiliary(dos/mdns/avahi_portzero) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the dos/mdns/avahi_portzero auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(dos/mdns/avahi_portzero) > show evasion
Module evasion options:
Name Current Setting Required Description
---- --------------- -------- -----------
Go back to menu.
Related Pull Requests
- #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
- #6010 Merged Pull Request: Fix #6008, incorrect usage of capture_sendto
- #3087 Merged Pull Request: Fix first chunk of msftidy "bad char" errors
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
References
- CVE-2008-5081
- OSVDB (50929)
See Also
Check also the following modules related to this module:
Authors
kris katterjohn
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.