7.2 High
CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:L/AC:L/Au:N/C:C/I:C/A:C
6.7 Medium
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
0.001 Low
EPSS
Percentile
20.0%
A vulnerability in the debug interface of Cisco IP Phone 8800 series could
allow an authenticated, local attacker to execute arbitrary commands.
# SPDX-FileCopyrightText: 2017 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
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.140503");
script_version("2023-07-25T05:05:58+0000");
script_tag(name:"last_modification", value:"2023-07-25 05:05:58 +0000 (Tue, 25 Jul 2023)");
script_tag(name:"creation_date", value:"2017-11-16 09:53:34 +0700 (Thu, 16 Nov 2017)");
script_tag(name:"cvss_base", value:"7.2");
script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-10-09 23:22:00 +0000 (Wed, 09 Oct 2019)");
script_cve_id("CVE-2017-12305");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("Cisco IP Phone 8800 Series Command Injection Vulnerability in Debug Shell");
script_category(ACT_GATHER_INFO);
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("CISCO");
script_dependencies("gb_cisco_ip_phone_detect.nasl");
script_mandatory_keys("cisco/ip_phone/model");
script_tag(name:"summary", value:"A vulnerability in the debug interface of Cisco IP Phone 8800 series could
allow an authenticated, local attacker to execute arbitrary commands.");
script_tag(name:"insight", value:"The vulnerability is due to insufficient input validation.");
script_tag(name:"impact", value:"An attacker could exploit this vulnerability by authenticating to the device
and submitting additional command input to the affected parameter in the debug shell.");
script_tag(name:"solution", value:"See the referenced vendor advisory for a solution.");
script_xref(name:"URL", value:"https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20171115-ipp");
exit(0);
}
include("version_func.inc");
if (!model = get_kb_item("cisco/ip_phone/model"))
exit(0);
if (model =~ "^CP-88..") {
if (!version = get_kb_item("cisco/ip_phone/version"))
exit(0);
version = eregmatch(pattern: "sip88xx\.([0-9-]+)", string: version);
if (!isnull(version[1])) {
version = ereg_replace(string: version[1], pattern: "-", replace: ".");
if (version_is_less(version: version, test_version: "11.1.1MPP502")) {
report = report_fixed_ver(installed_version: version, fixed_version: "11.1.1MPP502");
security_message(port: 0, data: report);
exit(0);
}
if (version =~ "^12\.") {
if (version_is_less(version: version, test_version: "12.1.1MN92")) {
report = report_fixed_ver(installed_version: version, fixed_version: "12.1.1MN92");
security_message(port: 0, data: report);
exit(0);
}
}
}
}
exit(0);
7.2 High
CVSS2
Attack Vector
LOCAL
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:L/AC:L/Au:N/C:C/I:C/A:C
6.7 Medium
CVSS3
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
0.001 Low
EPSS
Percentile
20.0%