module

FusionPBX Command exec.php Command Execution

Disclosed
2019-11-02
Created
2019-11-14

Description

This module uses administrative functionality available in FusionPBX
to gain a shell.

The Command section of the application permits users with `exec_view`
permissions, or superadmin permissions, to execute arbitrary system
commands, or arbitrary PHP code, as the web server user.

This module has been tested successfully on FusionPBX version
4.4.1 on Ubuntu 19.04 (x64).

Author

bcoles bcoles@gmail.com

Platform

Linux,PHP,Unix

Architectures

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