You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use exploit/multi/http/apache_rocketmq_update_config
Set RHOSTS to a large batch of hosts running http servers (with some not running RocketMQ, and with some no longer online)
Run the check
Note that eventually ctrl-c will be required to move past various hosts that did not respond as expected
Were you following a specific guide/tutorial or reading documentation?
No
Expected behavior
When a host is not responding as RocketMQ is expected to within a given timeout, the check should move on to the next host.
Current behavior
At this point you should see that eventually the check will stall on a host and never continue (i.e., several hours with no progress). This appears to occur due to a variety of reasons (e.g., host offline, host not running RocketMQ, etc.)
Metasploit version
6.3.55-dev
Additional Information
Module/Datastore
The following global/module datastore, and database setup was configured before the issue occurred:
Session Type: Connected to msf. Connection type: postgresql.
ID
Hosts
Vulnerabilities
Notes
Services
1 (Current)
6,407
625
8,413
13,152
Total (1)
6,407
625
8,413
13,155
History
The following commands were ran during the session and before this issue occurred:
Collapse
1505 set loglevel 3
1506 use multi/http/apache_rocketmq_update_config
1507 set RHOSTS 10.253.180.211
1508 set RPORT 746
1509 set SSL true
1510 check
1511 debug
Framework Errors
The following framework errors occurred before the issue occurred:
Collapse
[03/30/2024 13:19:27] [e(0)] core: 137.187.4.232:443 - Check failed: The state could not be determined.
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:60:in `check_multiple'
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:155:in `cmd_check'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:581:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `run_single'
(eval):23:in `block in load_resource'
(eval):10:in `each'
(eval):10:in `load_resource'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `eval'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `load_resource'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:195:in `block in initialize'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `each'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `initialize'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `new'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `driver'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
[03/30/2024 13:19:27] [e(0)] core: Exploit failed (multi/http/apache_rocketmq_update_config): NoMethodError undefined method `[]' for nil:NilClass - NoMethodError undefined method `[]' for nil:NilClass
[03/30/2024 13:19:27] [e(0)] core: 165.112.117.78:443 - Check failed: The state could not be determined.
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:60:in `check_multiple'
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:155:in `cmd_check'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:581:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `run_single'
(eval):23:in `block in load_resource'
(eval):10:in `each'
(eval):10:in `load_resource'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `eval'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `load_resource'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:195:in `block in initialize'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `each'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `initialize'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `new'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `driver'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
[03/30/2024 13:21:27] [e(0)] core: Exploit failed (multi/http/apache_rocketmq_update_config): NoMethodError undefined method `[]' for nil:NilClass - NoMethodError undefined method `[]' for nil:NilClass
[03/30/2024 13:21:27] [e(0)] core: 10.142.121.206:631 - Check failed: The state could not be determined.
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:60:in `check_multiple'
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:155:in `cmd_check'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:581:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `run_single'
(eval):23:in `block in load_resource'
(eval):10:in `each'
(eval):10:in `load_resource'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `eval'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `load_resource'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:195:in `block in initialize'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `each'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `initialize'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `new'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `driver'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
[03/30/2024 13:21:27] [e(0)] core: Exploit failed (multi/http/apache_rocketmq_update_config): NoMethodError undefined method `[]' for nil:NilClass - NoMethodError undefined method `[]' for nil:NilClass
[03/30/2024 13:21:27] [e(0)] core: 128.231.59.246:631 - Check failed: The state could not be determined.
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:60:in `check_multiple'
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:155:in `cmd_check'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:581:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `run_single'
(eval):23:in `block in load_resource'
(eval):10:in `each'
(eval):10:in `load_resource'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `eval'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `load_resource'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:195:in `block in initialize'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `each'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `initialize'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `new'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `driver'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
[03/30/2024 13:22:27] [e(0)] core: Exploit failed (multi/http/apache_rocketmq_update_config): NoMethodError undefined method `[]' for nil:NilClass - NoMethodError undefined method `[]' for nil:NilClass
[03/30/2024 13:22:27] [e(0)] core: 137.187.4.232:631 - Check failed: The state could not be determined.
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:60:in `check_multiple'
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:155:in `cmd_check'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:581:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `run_single'
(eval):23:in `block in load_resource'
(eval):10:in `each'
(eval):10:in `load_resource'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `eval'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `load_resource'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:195:in `block in initialize'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `each'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `initialize'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `new'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `driver'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
[03/30/2024 13:26:08] [e(0)] core: Check Failed - Interrupt
Web Service Errors
The following web service errors occurred before the issue occurred:
Collapse
msf-ws.log does not exist.
Framework Logs
The following framework logs were recorded before the issue occurred:
Collapse
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `driver'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
[03/30/2024 13:21:27] [e(0)] core: Exploit failed (multi/http/apache_rocketmq_update_config): NoMethodError undefined method `[]' for nil:NilClass - NoMethodError undefined method `[]' for nil:NilClass
[03/30/2024 13:21:27] [e(0)] core: 128.231.59.246:631 - Check failed: The state could not be determined.
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:60:in `check_multiple'
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:155:in `cmd_check'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:581:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `run_single'
(eval):23:in `block in load_resource'
(eval):10:in `each'
(eval):10:in `load_resource'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `eval'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `load_resource'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:195:in `block in initialize'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `each'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `initialize'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `new'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `driver'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
[03/30/2024 13:21:57] [d(0)] core: Reloading module exploit/multi/http/apache_rocketmq_update_config...
[03/30/2024 13:21:57] [w(0)] core: The module multi/http/apache_rocketmq_update_config is ambiguous with multi/http/apache_rocketmq_update_config.
[03/30/2024 13:21:57] [d(0)] core: Refreshing multi/http/apache_rocketmq_update_config of type: exploit
[03/30/2024 13:22:27] [e(0)] core: Exploit failed (multi/http/apache_rocketmq_update_config): NoMethodError undefined method `[]' for nil:NilClass - NoMethodError undefined method `[]' for nil:NilClass
[03/30/2024 13:22:27] [e(0)] core: 137.187.4.232:631 - Check failed: The state could not be determined.
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:60:in `check_multiple'
/usr/share/metasploit-framework/lib/msf/ui/console/module_command_dispatcher.rb:155:in `cmd_check'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:581:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:530:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:524:in `run_single'
(eval):23:in `block in load_resource'
(eval):10:in `each'
(eval):10:in `load_resource'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `eval'
/usr/share/metasploit-framework/lib/rex/ui/text/resource.rb:60:in `load_resource'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:195:in `block in initialize'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `each'
/usr/share/metasploit-framework/lib/msf/ui/console/driver.rb:194:in `initialize'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `new'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:66:in `driver'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:54:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/usr/bin/msfconsole:23:in `<main>'
[03/30/2024 13:26:08] [e(0)] core: Check Failed - Interrupt
Web Service Logs
The following web service logs were recorded before the issue occurred:
Collapse
msf-ws.log does not exist.
Version/Install
The versions and install method of your Metasploit setup:
Steps to reproduce
Were you following a specific guide/tutorial or reading documentation?
No
Expected behavior
When a host is not responding as RocketMQ is expected to within a given timeout, the check should move on to the next host.
Current behavior
At this point you should see that eventually the check will stall on a host and never continue (i.e., several hours with no progress). This appears to occur due to a variety of reasons (e.g., host offline, host not running RocketMQ, etc.)
Metasploit version
6.3.55-dev
Additional Information
Module/Datastore
The following global/module datastore, and database setup was configured before the issue occurred:
Collapse
Database Configuration
The database contains the following information:
Collapse
History
The following commands were ran during the session and before this issue occurred:
Collapse
Framework Errors
The following framework errors occurred before the issue occurred:
Collapse
Web Service Errors
The following web service errors occurred before the issue occurred:
Collapse
Framework Logs
The following framework logs were recorded before the issue occurred:
Collapse
Web Service Logs
The following web service logs were recorded before the issue occurred:
Collapse
Version/Install
The versions and install method of your Metasploit setup:
Collapse
The text was updated successfully, but these errors were encountered: