module

FreeSWITCH Event Socket Command Execution

Disclosed
Nov 3, 2019
Created
Nov 14, 2019

Description

This module uses the FreeSWITCH event socket interface
to execute system commands using the `system` API command.

The event socket service is enabled by default and listens
on TCP port 8021 on the local network interface.

This module has been tested successfully on FreeSWITCH versions:

1.6.10-17-726448d~44bit on FreeSWITCH-Deb8-TechPreview virtual machine;
1.8.4~64bit on Ubuntu 19.04 (x64); and
1.10.1~64bit on Windows 7 SP1 (EN) (x64).

Author

Platform

Linux,Unix,Windows

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