Juniper JunOS Malformed TCP Option - Metasploit
This page contains detailed information about how to use the auxiliary/dos/tcp/junos_tcp_opt metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: Juniper JunOS Malformed TCP Option
Module: auxiliary/dos/tcp/junos_tcp_opt
Source code: modules/auxiliary/dos/tcp/junos_tcp_opt.rb
Disclosure date: -
Last modification time: 2017-07-24 06:26:21 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: -
This module exploits a denial of service vulnerability in Juniper Network's JunOS router operating system. By sending a TCP packet with TCP option 101 set, an attacker can cause an affected router to reboot.
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/tcp/junos_tcp_opt
msf auxiliary(junos_tcp_opt) > show targets
... a list of targets ...
msf auxiliary(junos_tcp_opt) > set TARGET target-id
msf auxiliary(junos_tcp_opt) > show options
... show and set options ...
msf auxiliary(junos_tcp_opt) > 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/tcp/junos_tcp_opt auxiliary module looks in the msfconsole:
msf6 > use auxiliary/dos/tcp/junos_tcp_opt
msf6 auxiliary(dos/tcp/junos_tcp_opt) > show info
Name: Juniper JunOS Malformed TCP Option
Module: auxiliary/dos/tcp/junos_tcp_opt
License: Metasploit Framework License (BSD)
Rank: Normal
Provided by:
todb <[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 no The destination port (defaults to random)
SHOST no Source address (defaults to random)
SPORT no Source port (defaults to random)
TIMEOUT 500 yes The number of seconds to wait for new data
Description:
This module exploits a denial of service vulnerability in Juniper
Network's JunOS router operating system. By sending a TCP packet
with TCP option 101 set, an attacker can cause an affected router to
reboot.
References:
http://www.securityfocus.com/bid/37670
OSVDB (61538)
http://praetorianprefect.com/archives/2010/01/junos-juniper-flaw-exposes-core-routers-to-kernal-crash/
Module Options
This is a complete list of options available in the dos/tcp/junos_tcp_opt auxiliary module:
msf6 auxiliary(dos/tcp/junos_tcp_opt) > show options
Module options (auxiliary/dos/tcp/junos_tcp_opt):
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 no The destination port (defaults to random)
SHOST no Source address (defaults to random)
SPORT no Source port (defaults to random)
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/tcp/junos_tcp_opt auxiliary module:
msf6 auxiliary(dos/tcp/junos_tcp_opt) > show advanced
Module advanced options (auxiliary/dos/tcp/junos_tcp_opt):
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/tcp/junos_tcp_opt module can do:
msf6 auxiliary(dos/tcp/junos_tcp_opt) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the dos/tcp/junos_tcp_opt auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(dos/tcp/junos_tcp_opt) > 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
- #3362 Merged Pull Request: Aux modules don't respect Rank anyway
- #2525 Merged Pull Request: Change module boilerplate
- #1228 Merged Pull Request: MSFTIDY cleanup #1 - auxiliary
References
- CVE: Not available
- BID-37670
- OSVDB (61538)
- http://praetorianprefect.com/archives/2010/01/junos-juniper-flaw-exposes-core-routers-to-kernal-crash/
See Also
Check also the following modules related to this module:
- auxiliary/admin/networking/juniper_config
- auxiliary/scanner/ssh/juniper_backdoor
- post/networking/gather/enum_juniper
- auxiliary/dos/tcp/claymore_dos
- auxiliary/dos/tcp/synflood
- auxiliary/scanner/http/apache_optionsbleed
- auxiliary/scanner/http/options
- auxiliary/scanner/sip/options
- auxiliary/scanner/sip/options_tcp
- encoder/x86/opt_sub
- exploit/linux/local/systemtap_modprobe_options_priv_esc
- exploit/multi/http/sun_jsws_dav_options
- exploit/unix/webapp/wp_optimizepress_upload
- exploit/windows/browser/ms11_081_option
- exploit/windows/local/persistence_image_exec_options
- nop/x86/opty2
- auxiliary/sqli/oracle/droptable_trigger
- exploit/freebsd/local/ip6_setpktopt_uaf_priv_esc
- exploit/linux/pptp/poptop_negative_read
- auxiliary/scanner/dcerpc/tcp_dcerpc_auditor
- auxiliary/scanner/pcanywhere/pcanywhere_tcp
- auxiliary/scanner/portscan/tcp
- auxiliary/scanner/sip/enumerator_tcp
Authors
todb
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.