NTP Protocol Fuzzer returns "Auxiliary failed: NoMethodError"
Steps to reproduce
- Start Kali linux
- Update with
apt-get update+apt-get upgrade+apt-get dist-upgrade root@kali:~# msfconsolemsf > use auxiliary/fuzzers/ntp/ntp_protocol_fuzzermsf auxiliary(ntp_protocol_fuzzer) > set RHOSTS 192.168.2.104// Target IPrun[*] 192.168.2.104:123 fuzzing short version and mode combinations[-] Auxiliary failed: NoMethodError undefined method 'size' for #<Rex::Proto::NTP::NTPGeneric:0x0055749b6f31e0>[-] Call stack:[-] /usr/share/metasploit-framework/modules/auxiliary/fuzzers/ntp/ntp_protocol_fuzzer.rb:167:in 'block (2 levels) in fuzz_version_mode'[-] /usr/share/metasploit-framework/modules/auxiliary/fuzzers/ntp/ntp_protocol_fuzzer.rb:159:in 'each'[-] /usr/share/metasploit-framework/modules/auxiliary/fuzzers/ntp/ntp_protocol_fuzzer.rb:159:in 'block in fuzz_version_mode'[-] /usr/share/metasploit-framework/modules/auxiliary/fuzzers/ntp/ntp_protocol_fuzzer.rb:158:in 'each'[-] /usr/share/metasploit-framework/modules/auxiliary/fuzzers/ntp/ntp_protocol_fuzzer.rb:158:in 'fuzz_version_mode'[-] /usr/share/metasploit-framework/modules/auxiliary/fuzzers/ntp/ntp_protocol_fuzzer.rb:87:in 'run_host'[-] /usr/share/metasploit-framework/lib/msf/core/auxiliary/scanner.rb:135:in 'block (2 levels) in run'[-] /usr/share/metasploit-framework/lib/msf/core/thread_manager.rb:100:in 'block in spawn'[*] Auxiliary module execution completed
Hello,
Can you post the results of :
show options
and :
show advanced
Thanks !
I think the 'size' needs to be replaced with 'num_bytes' here.
Options
msf auxiliary(ntp_protocol_fuzzer) > show options
Module options (auxiliary/fuzzers/ntp/ntp_protocol_fuzzer):
Name Current Setting Required Description
---- --------------- -------- -----------
RHOSTS 192.168.2.104 yes The target address range or CIDR identifier
RPORT 123 yes The target port (UDP)
SLEEP 0 yes Sleep for this many ms between requests
THREADS 1 yes The number of concurrent threads
WAIT 250 yes Wait this many ms for responses
Advanced
msf auxiliary(ntp_protocol_fuzzer) > show advanced
Module advanced options (auxiliary/fuzzers/ntp/ntp_protocol_fuzzer):
Name Current Setting Required Description
---- --------------- -------- -----------
CHOST no The local client address
CPORT no The local client port
FuzzChar X yes Sets the character to use for generating long strings
FuzzTracer MSFROCKS yes Sets the magic string to embed into fuzzer string inputs
MODES no Modes to fuzz (csv)
MODE_6_OPERATIONS no Mode 6 operations to fuzz (csv)
MODE_7_IMPLEMENTATIONS no Mode 7 implementations to fuzz (csv)
MODE_7_REQUEST_CODES no Mode 7 request codes to fuzz (csv)
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
VERSIONS 2,3,4 no Specific versions to fuzz (csv)
WORKSPACE no Specify the workspace for this module
I am also facing some issue: AFTER RUNNING THE TOOL, I AM NOT GETTING NAY ERROR, ANY ISSUE AND IT IS STUCK AT "fuzzing version 2 private messages (mode 7)". what ever info is displayed below is showing any kind of bug in my web application ? I am not able to understand what is the meaning of output displayed below. Can someone please help here ?
X.X.X.X:123 fuzzing short version and mode combinations [] X.X.X.X:123 fuzzing version and mode combinations [] X.X.X.X:123 fuzzing short messages [] X.X.X.X:123 fuzzing random messages [] X.X.X.X:123 fuzzing version 2 control messages (mode 6) [] X.X.X.X:123 fuzzing version 3 control messages (mode 6) [] X.X.X.X:123 fuzzing version 4 control messages (mode 6) [*] X.X.X.X:123 fuzzing version 2 private messages (mode 7)