module

TrixBox CE endpoint_devicemap.php Authenticated Command Execution

Disclosed
2020-04-28
Created
2020-05-05

Description

This module exploits an authenticated OS command injection
vulnerability found in Trixbox CE version 1.2.0 to 2.8.0.4
inclusive in the "network" POST parameter of the
"/maint/modules/endpointcfg/endpoint_devicemap.php" page.
Successful exploitation allows for arbitrary command execution
on the underlying operating system as the "asterisk" user.
Users can easily elevate their privileges to the "root" user
however by executing "sudo nmap --interactive" followed by "!sh"
from within nmap.

Author

Anastasios Stasinopoulos ( Anastasios Stasinopoulos (@ancst)

Platform

Linux,Unix

Architectures

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