module

Supervisor XML-RPC Authenticated Remote Code Execution

Disclosed
2017-07-19
Created
2018-05-30

Description

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.

Author

Calum Hutton c.e.hutton@gmx.com

Platform

Linux

Architectures

x86, x64

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/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

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.