URGENT/11 Scanner, Based on Detection Tool by Armis - Metasploit
This page contains detailed information about how to use the auxiliary/scanner/vxworks/urgent11_check metasploit module. For list of all metasploit modules, visit the Metasploit Module Library.
Module Overview
Name: URGENT/11 Scanner, Based on Detection Tool by Armis
Module: auxiliary/scanner/vxworks/urgent11_check
Source code: modules/auxiliary/scanner/vxworks/urgent11_check.rb
Disclosure date: 2019-08-09
Last modification time: 2019-10-21 10:43:28 +0000
Supported architecture(s): -
Supported platform(s): -
Target service / protocol: -
Target network port(s): -
List of CVEs: CVE-2019-12258
This module detects VxWorks and the IPnet IP stack, along with devices vulnerable to CVE-2019-12258.
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.
Stability:
- crash-safe: Module should not crash the service.
Basic Usage
This module is a scanner module, and is capable of testing against multiple hosts.
msf > use auxiliary/scanner/vxworks/urgent11_check
msf auxiliary(urgent11_check) > show options
... show and set options ...
msf auxiliary(urgent11_check) > set RHOSTS ip-range
msf auxiliary(urgent11_check) > exploit
Other examples of setting the RHOSTS option:
Example 1:
msf auxiliary(urgent11_check) > set RHOSTS 192.168.1.3-192.168.1.200
Example 2:
msf auxiliary(urgent11_check) > set RHOSTS 192.168.1.1/24
Example 3:
msf auxiliary(urgent11_check) > set RHOSTS file:/tmp/ip_list.txt
Required Options
- RHOSTS: The target host(s), range CIDR identifier, or hosts file with syntax 'file:<path>'
Knowledge Base
Vulnerable Application
This detects systems running vulnerable versions of the Interpeak IPnet TCP/IP stack, which may be exploitable due to bugs parsing malformed network packets which can lead to memory corruption or denial-of-service attack possibilities.
Verification Steps
- Do:
use auxiliary/scanner/vxworks/urgent11_check
- Do:
set [RHOSTS]
, replacing[RHOSTS]
with a list of hosts to test for the presence of the vulnerable IP stack. - Do:
set [RPORTS]
, replacing[RPORTS]
with a list of possible service ports to interrogate for vulnerable stack behavior. - Do:
run
- If the host is exposing an identifiable IPnet TCP/IP stack, it will print the endpoint and report a vuln.
Options
RPORTS Set to a comma or space-delimited list of ports to check for the vulnerability.
VERBOSE Set to see how the probabilities of a vulnerable host are calculated.
Scenarios
msf5 auxiliary(scanner/vxworks/urgent11_check) > set RHOSTS 192.168.86.1 192.168.86.2
RHOSTS => 192.168.86.1 192.168.86.2
msf5 auxiliary(scanner/vxworks/urgent11_check) > set THREADS 2
THREADS => 2
msf5 auxiliary(scanner/vxworks/urgent11_check) > set RPORTS 21 22 23 80 443
RPORTS => 21 22 23 80 443
msf5 auxiliary(scanner/vxworks/urgent11_check) > run
[*] 192.168.86.1:21 being checked
[*] 192.168.86.2:21 being checked
[*] 192.168.86.1:22 being checked
[*] 192.168.86.1:23 being checked
[*] 192.168.86.1:80 being checked
[*] 192.168.86.1:443 being checked
[*] Scanned 1 of 2 hosts (50% complete)
[*] 192.168.86.2:22 being checked
[+] 192.168.86.2:22 affected by CVE-2019-12258
[*] 192.168.86.2:23 being checked
[*] 192.168.86.2:80 being checked
[*] 192.168.86.2:443 being checked
[+] 192.168.86.2:443 affected by CVE-2019-12258
[*] Scanned 2 of 2 hosts (100% complete)
[*] Auxiliary module execution completed
msf5 auxiliary(scanner/vxworks/urgent11_check) >
Go back to menu.
Msfconsole Usage
Here is how the scanner/vxworks/urgent11_check auxiliary module looks in the msfconsole:
msf6 > use auxiliary/scanner/vxworks/urgent11_check
msf6 auxiliary(scanner/vxworks/urgent11_check) > show info
Name: URGENT/11 Scanner, Based on Detection Tool by Armis
Module: auxiliary/scanner/vxworks/urgent11_check
License: Metasploit Framework License (BSD)
Rank: Normal
Disclosed: 2019-08-09
Provided by:
Ben Seri
Brent Cook
wvu <[email protected]>
Module stability:
crash-safe
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>'
RPORTS 21 22 23 80 443 yes Target ports for TCP detections
SNAPLEN 65535 yes The number of bytes to capture
THREADS 1 yes The number of concurrent threads (max one per host)
TIMEOUT 500 yes The number of seconds to wait for new data
Description:
This module detects VxWorks and the IPnet IP stack, along with
devices vulnerable to CVE-2019-12258.
References:
https://nvd.nist.gov/vuln/detail/CVE-2019-12258
https://armis.com/urgent11
https://github.com/ArmisSecurity/urgent11-detector
Module Options
This is a complete list of options available in the scanner/vxworks/urgent11_check auxiliary module:
msf6 auxiliary(scanner/vxworks/urgent11_check) > show options
Module options (auxiliary/scanner/vxworks/urgent11_check):
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>'
RPORTS 21 22 23 80 443 yes Target ports for TCP detections
SNAPLEN 65535 yes The number of bytes to capture
THREADS 1 yes The number of concurrent threads (max one per host)
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 scanner/vxworks/urgent11_check auxiliary module:
msf6 auxiliary(scanner/vxworks/urgent11_check) > show advanced
Module advanced options (auxiliary/scanner/vxworks/urgent11_check):
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)
RetransmissionRate 3 yes Send n TCP packets
SECRET 1297303073 yes A 32-bit cookie for probe requests.
ShowProgress true yes Display progress messages during a scan
ShowProgressPercent 10 yes The interval in percent that progress should be shown
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 scanner/vxworks/urgent11_check module can do:
msf6 auxiliary(scanner/vxworks/urgent11_check) > show actions
Auxiliary actions:
Name Description
---- -----------
Evasion Options
Here is the full list of possible evasion options supported by the scanner/vxworks/urgent11_check auxiliary module in order to evade defenses (e.g. Antivirus, EDR, Firewall, NIDS etc.):
msf6 auxiliary(scanner/vxworks/urgent11_check) > 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.
No ports open on <IP> from <RPORTS>
Here is a relevant code snippet related to the "No ports open on <IP> from <RPORTS>" error message:
66:
67: port_open = false
68: rports.each do |rport|
69: port_open |= run_detections(ip, rport)
70: end
71: raise RuntimeError.new("No ports open on #{ip} from #{datastore['RPORTS']}") if !port_open
72: rescue RuntimeError => e
73: fail_with(Failure::BadConfig, e.message)
74: ensure
75: close_pcap
76: end
Could not connect to <IP>:<PORT>, cannot verify vulnerability
Here is a relevant code snippet related to the "Could not connect to <IP>:<PORT>, cannot verify vulnerability" error message:
95: sock = Rex::Socket::Tcp.create(
96: 'PeerHost' => ip,
97: 'PeerPort' => port
98: )
99: rescue
100: vprint_bad("Could not connect to #{ip}:#{port}, cannot verify vulnerability")
101: return false
102: end
103:
104: detections.each do |detection|
105: @ipnet_score = 0
<DETECTION_NAME> failed: <E.MESSAGE>
Here is a relevant code snippet related to the "<DETECTION_NAME> failed: <E.MESSAGE>" error message:
109: detection_name = detection.camelize
110:
111: begin
112: send(detection, sock, ip, port)
113: rescue StandardError => e
114: vprint_error("#{detection_name} failed: #{e.message}")
115: next
116: end
117:
118: vprint_status(
119: "\t#{detection_name.ljust(30)}" \
<IP>:<PORT> detected as NOT IPnet
Here is a relevant code snippet related to the "<IP>:<PORT> detected as NOT IPnet" error message:
129: sock.close
130:
131: if final_ipnet_score > 0
132: vprint_good("#{ip}:#{port} detected as IPnet")
133: elsif final_ipnet_score < 0
134: vprint_error("#{ip}:#{port} detected as NOT IPnet")
135: end
136:
137: if final_vxworks_score > 100
138: vprint_good("#{ip}:#{port} detected as VxWorks")
139: elsif final_vxworks_score < 0
<IP>:<PORT> detected as NOT VxWorks
Here is a relevant code snippet related to the "<IP>:<PORT> detected as NOT VxWorks" error message:
135: end
136:
137: if final_vxworks_score > 100
138: vprint_good("#{ip}:#{port} detected as VxWorks")
139: elsif final_vxworks_score < 0
140: vprint_error("#{ip}:#{port} detected as NOT VxWorks")
141: end
142:
143: affected_vulnerabilities.each do |vuln|
144: msg = "#{ip}:#{port} affected by #{vuln}"
145: print_good(msg)
Go back to menu.
Related Pull Requests
References
See Also
Check also the following modules related to this module:
- auxiliary/scanner/vxworks/wdbrpc_bootline
- auxiliary/scanner/vxworks/wdbrpc_version
- auxiliary/scanner/rdp/ms12_020_check
- auxiliary/admin/kerberos/ms14_068_kerberos_checksum
- auxiliary/admin/smb/check_dir_file
- auxiliary/gather/checkpoint_hostname
- auxiliary/scanner/oracle/tnspoison_checker
- auxiliary/scanner/sap/sap_soap_rfc_pfl_check_os_file_existence
- exploit/linux/http/nagios_xi_plugins_check_plugin_authenticated_rce
- exploit/linux/local/cve_2021_3490_ebpf_alu32_bounds_check_lpe
- exploit/multi/http/ajaxplorer_checkinstall_exec
- exploit/windows/browser/ea_checkrequirements
- exploit/windows/browser/mswhale_checkforupdates
- exploit/windows/browser/ntr_activex_check_bof
- exploit/windows/browser/oracle_webcenter_checkoutandopen
- exploit/windows/http/serviio_checkstreamurl_cmd_exec
- post/linux/gather/checkcontainer
- post/linux/gather/checkvm
- post/multi/gather/check_malware
- post/solaris/gather/checkvm
- post/windows/gather/checkvm
- post/windows/gather/forensics/duqu_check
- post/windows/gather/forensics/fanny_bmp_check
- exploit/unix/http/zivif_ipcheck_exec
- exploit/windows/browser/zenturiprogramchecker_unsafe
- auxiliary/admin/vxworks/apple_airport_extreme_password
- auxiliary/admin/vxworks/dlink_i2eye_autoanswer
- auxiliary/admin/vxworks/wdbrpc_memory_dump
- auxiliary/admin/vxworks/wdbrpc_reboot
Authors
- Ben Seri
- Brent Cook
- wvu
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.