Description
This module exploits the "diagnostic console" feature in the Metasploit Web UI to obtain a reverse shell.
The diagnostic console is able to be enabled or disabled by an administrator on Metasploit Pro and by an authenticated user on Metasploit Express and Metasploit Community. When enabled, the diagnostic console provides access to msfconsole via the web interface. An authenticated user can then use the console to execute shell commands.
NOTE: Valid credentials are required for this module.
Tested against:
Metasploit Community 4.1.0, Metasploit Community 4.8.2, Metasploit Community 4.12.0
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/metasploit/webui_console_command_executionmsf undefined(webui_console_command_execution) > show actions ...actions...msf undefined(webui_console_command_execution) > set ACTION < action-name >msf undefined(webui_console_command_execution) > show options ...show and set options...msf undefined(webui_console_command_execution) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub