FreeSWITCH < 1.4.26 / 1.6.x < 1.6.5 JSON Parser RCE

high Nessus Plugin ID 88696

Synopsis

The remote FreeSWITCH server is affected by a remote code execution vulnerability.

Description

The remote FreeSWITCH server is prior to version 1.4.26 or 1.6.x prior to 1.6.5. It is, therefore, affected by a remote code execution vulnerability due to improper validation of user-supplied input to the parse_string() function in esl_json.c, switch_json.c, and ks_json.c. A remote attacker can exploit this, via a crafted JSON message, to cause a heap-based buffer overflow condition, resulting in a denial of service or the execution of arbitrary code.

Solution

Upgrade to FreeSWITCH version 1.4.26 / 1.6.5 or later.

See Also

https://freeswitch.org/jira/browse/FS-8160

https://www.tenable.com/security/research/tra-2015-05

Plugin Details

Severity: High

ID: 88696

File Name: freeswitch_fs8160.nasl

Version: 1.5

Type: remote

Family: Misc.

Published: 2/11/2016

Updated: 4/11/2022

Configuration: Enable paranoid mode, Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: cpe:/a:freeswitch:freeswitch

Required KB Items: Settings/ParanoidReport, sip/freeswitch/present

Exploit Ease: No known exploits are available

Patch Publication Date: 11/24/2015

Vulnerability Publication Date: 9/14/2015

Reference Information

CVE: CVE-2015-7392, CVE-2015-8311

BID: 76976