Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

TrixBox CE endpoint_devicemap.php Authenticated Command Execution

Disclosed
Apr 28, 2020
Created
May 5, 2020

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

x86, x64, cmd

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
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.