7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
LOW
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
6.7 Medium
AI Score
Confidence
High
0.002 Low
EPSS
Percentile
64.6%
Puppet Enterprise is prone to multiple vulnerabilities.
# 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
CPE = "cpe:/a:puppet:enterprise";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.106929");
script_version("2023-12-21T05:06:40+0000");
script_tag(name:"last_modification", value:"2023-12-21 05:06:40 +0000 (Thu, 21 Dec 2023)");
script_tag(name:"creation_date", value:"2017-07-06 15:23:17 +0700 (Thu, 06 Jul 2017)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2017-09-06 01:29:00 +0000 (Wed, 06 Sep 2017)");
script_cve_id("CVE-2017-2292", "CVE-2017-2293", "CVE-2017-2294", "CVE-2017-2295", "CVE-2017-2297");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
script_name("Puppet Enterprise < 2016.4.5, 2016.5.x < 2017.2.1 Multiple Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("General");
script_dependencies("gb_puppet_enterprise_http_detect.nasl");
script_mandatory_keys("puppet_enterprise/detected");
script_tag(name:"summary", value:"Puppet Enterprise is prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Puppet Enterprise is prone to multiple vulnerabilities:
- CVE-2017-2292: MCollective remote code execution via YAML deserialization
- CVE-2017-2293: MCollective Server allows installing arbitrary packages on agents
- CVE-2017-2294: MCollective private keys visible in PuppetDB
- CVE-2017-2295: Puppet Server remote code execution via YAML deserialization
- CVE-2017-2297: Incorrect credential management with RBAC tokens");
script_tag(name:"affected", value:"Puppet Enterprise prior to 2016.4.5 and 2016.5.x prior to
2017.2.1.");
script_tag(name:"solution", value:"Update to version 2016.4.5, 2017.2.1 or later.");
script_xref(name:"URL", value:"https://puppet.com/security/cve/cve-2017-2292");
script_xref(name:"URL", value:"https://puppet.com/security/cve/cve-2017-2293");
script_xref(name:"URL", value:"https://puppet.com/security/cve/cve-2017-2294");
script_xref(name:"URL", value:"https://puppet.com/security/cve/cve-2017-2295");
script_xref(name:"URL", value:"https://puppet.com/security/cve/cve-2017-2297");
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_location(cpe: CPE, port: port, exit_no_version: TRUE))
exit(0);
version = infos["version"];
location = infos["location"];
if (version_is_less(version: version, test_version: "2016.4.5")) {
report = report_fixed_ver(installed_version: version, fixed_version: "2016.4.5", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if (version_in_range(version: version, test_version:"2016.5.0", test_version2: "2017.2.0")) {
report = report_fixed_ver(installed_version: version, fixed_version: "2017.2.1", install_path: location);
security_message(port: port, data: report);
exit(0);
}
exit(0);
7.5 High
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
9 High
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
LOW
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:L
6.7 Medium
AI Score
Confidence
High
0.002 Low
EPSS
Percentile
64.6%