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.
Exploit database
Vulnerability
CVE-2020-7351
Fonality Trixbox CE Post-Authentication Command Injection
Vulnerability details
- Score
- 7.3
- Severity
- high
CVSS 3.1 · rapid7
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:NDescription
An OS Command Injection vulnerability in the endpoint_devicemap.php component of Fonality Trixbox Community Edition allows an attacker to execute commands on the underlying operating system as the "asterisk" user. Note that Trixbox Community Edition has been unsupported by the vendor since 2012. This issue affects: Fonality Trixbox Community Edition, versions 1.2.0 through 2.8.0.4. Versions 1.0 and 1.1 are unaffected.
CVE ProgramExploit source choices
1 sourceTrixBox CE endpoint_devicemap.php Authenticated Command Execution
2020-04-28trixbox_ce_endpoint_devicemap_rce.rb