rapid7 / metasploit-framework

Metasploit Framework
https://www.metasploit.com/
Other
33.8k stars 13.9k forks source link

Uninitialized constant error in scanner/rdp/cve_2019_0708_bluekeep #14611

Closed jordanbertasso closed 3 years ago

jordanbertasso commented 3 years ago

While running the cve_2019_0708_bluekeep scanner on a list of hosts with the following options:

set ShowProgressPercent 1; set threads 5; set verbose true;

I am presented with the following error for seemingly random hosts:

[-] <IP>:3389     - Unexpected error: uninitialized constant Msf::Exploit::Remote::RDP::NTLM_MESSAGE
/usr/share/metasploit-framework/lib/msf/core/exploit/remote/rdp.rb:205:in `rdp_fingerprint'
/usr/share/metasploit-framework/modules/auxiliary/scanner/rdp/cve_2019_0708_bluekeep.rb:206:in `check_rdp_vuln'
/usr/share/metasploit-framework/modules/auxiliary/scanner/rdp/cve_2019_0708_bluekeep.rb:98:in `check_host'
/usr/share/metasploit-framework/modules/auxiliary/scanner/rdp/cve_2019_0708_bluekeep.rb:65:in `run_host'
/usr/share/metasploit-framework/lib/msf/core/auxiliary/scanner.rb:120:in `block (2 levels) in run'
/usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:105:in `block in spawn'

I am running on kali and have just done an apt full-upgrade.

$ uname -a
Linux host 5.9.0-kali5-amd64 #1 SMP Debian 5.9.15-1kali1 (2020-12-18) x86_64 GNU/Linux

Any suggestions as to what I can try to troubleshoot? Thanks!

adfoster-r7 commented 3 years ago

Thanks for the report! :+1:

This should be fixed in the next release of Metasploit, 6.0.27