6.8 Medium
CVSS2
Attack Vector
NETWORK
Attack Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:M/Au:N/C:P/I:P/A:P
7.2 High
AI Score
Confidence
Low
0.004 Low
EPSS
Percentile
74.8%
FreeSWITCH is prone to multiple buffer overflow vulnerabilities.
# SPDX-FileCopyrightText: 2013 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:freeswitch:freeswitch";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.804025");
script_version("2023-07-27T05:05:08+0000");
script_cve_id("CVE-2013-2238");
script_tag(name:"cvss_base", value:"6.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"last_modification", value:"2023-07-27 05:05:08 +0000 (Thu, 27 Jul 2023)");
script_tag(name:"creation_date", value:"2013-10-07 18:52:44 +0530 (Mon, 07 Oct 2013)");
script_name("FreeSWITCH 'switch_regex.c' Multiple Buffer Overflow Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2013 Greenbone AG");
script_family("Denial of Service");
script_dependencies("gb_freeswitch_consolidation.nasl");
script_mandatory_keys("freeswitch/detected");
script_xref(name:"URL", value:"http://seclists.org/oss-sec/2013/q3/10");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/60890");
script_xref(name:"URL", value:"http://jira.freeswitch.org/browse/FS-5566");
script_xref(name:"URL", value:"http://www.openwall.com/lists/oss-security/2013/07/04/4");
script_tag(name:"summary", value:"FreeSWITCH is prone to multiple buffer overflow vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"solution", value:"No known solution was made available for at least one year since the
disclosure of this vulnerability. Likely none will be provided anymore. General solution options are to upgrade
to a newer release, disable respective features, remove the product or replace the product by another one.");
script_tag(name:"insight", value:"Flaw is due to improper validation of user supplied input when handling the
'index[]' variable or when handling 'substituted' variables in switch_regex.c script.");
script_tag(name:"affected", value:"FreeSWITCH version 1.2");
script_tag(name:"impact", value:"Successful exploitation will allow remote attacker to cause multiple buffer
overflows, resulting in a denial of service.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"qod_type", value:"remote_banner");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if( ! port = get_app_port( cpe:CPE ) ) exit( 0 );
if( ! infos = get_app_version_and_proto( cpe:CPE, port:port, exit_no_version:TRUE ) )
exit( 0 );
version = infos["version"];
proto = infos["proto"];
if( version_is_equal( version: version, test_version:"1.2.0" ) ) {
report = report_fixed_ver( installed_version:version, fixed_version:"No fix available" );
security_message( port:port, data:report, protocol:proto );
exit( 0 );
}
exit( 99 );