Rapid7 Vulnerability & Exploit Database

FusionPBX Operator Panel exec.php Command Execution

Back to Search

FusionPBX Operator Panel exec.php Command Execution

Disclosed
06/06/2019
Created
11/14/2019

Description

This module exploits an authenticated command injection vulnerability in FusionPBX versions 4.4.3 and prior. The `exec.php` file within the Operator Panel permits users with `operator_panel_view` permissions, or administrator permissions, to execute arbitrary commands as the web server user by sending a `system` command to the FreeSWITCH event socket interface. This module has been tested successfully on FusionPBX version 4.4.1 on Ubuntu 19.04 (x64).

Author(s)

  • Dustin Cobb
  • bcoles <bcoles@gmail.com>

Platform

Linux,Unix

Architectures

cmd, x86, x64

Development

References

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/unix/webapp/fusionpbx_operator_panel_exec_cmd_exec
msf exploit(fusionpbx_operator_panel_exec_cmd_exec) > show targets
    ...targets...
msf exploit(fusionpbx_operator_panel_exec_cmd_exec) > set TARGET < target-id >
msf exploit(fusionpbx_operator_panel_exec_cmd_exec) > show options
    ...show and set options...
msf exploit(fusionpbx_operator_panel_exec_cmd_exec) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;