Supervisor XML-RPC Authenticated Remote Code Execution
This module exploits a vulnerability in the Supervisor process control software, where an authenticated client can send a malicious XML-RPC request to supervisord that will run arbitrary shell commands on the server. The commands will be run as the same user as supervisord. Depending on how supervisord has been configured, this may be root. This vulnerability can only be exploited by an authenticated client, or if supervisord has been configured to run an HTTP server without authentication. This vulnerability affects versions 3.0a1 to 3.3.2.
- Calum Hutton <c.e.hutton [at] gmx.com>
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/linux/http/supervisor_xmlrpc_exec msf exploit(supervisor_xmlrpc_exec) > show targets ...targets... msf exploit(supervisor_xmlrpc_exec) > set TARGET <target-id> msf exploit(supervisor_xmlrpc_exec) > show options ...show and set options... msf exploit(supervisor_xmlrpc_exec) > exploit