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
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
99.9%
Multiple cross-site request forgery (CSRF) vulnerabilities in
Jenkins allow malicious users to perform several administrative actions by tricking a victim into
opening a web page.
# 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:jenkins:jenkins";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.107157");
script_version("2024-06-28T15:38:46+0000");
script_tag(name:"last_modification", value:"2024-06-28 15:38:46 +0000 (Fri, 28 Jun 2024)");
script_tag(name:"creation_date", value:"2017-04-28 12:09:09 +0200 (Fri, 28 Apr 2017)");
script_cve_id("CVE-2017-1000353", "CVE-2017-1000354", "CVE-2017-1000355", "CVE-2017-1000356");
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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2022-06-13 19:09:00 +0000 (Mon, 13 Jun 2022)");
script_tag(name:"qod_type", value:"remote_banner");
script_name("Jenkins Multiple Vulnerabilities (Apr 2017) - Windows");
script_tag(name:"summary", value:"Multiple cross-site request forgery (CSRF) vulnerabilities in
Jenkins allow malicious users to perform several administrative actions by tricking a victim into
opening a web page.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Multiple flaws are due to:
- multiple Cross-Site Request Forgery vulnerabilities.
- the storage of the encrypted user name in a cache file which is used to authenticate further commands.
- XStream library which allow anyone able to provide XML to Jenkins for processing using XStream to crash the Java process.");
script_tag(name:"impact", value:"Successfully exploiting this issue allows attackers to:
- perform several administrative actions by tricking a victim into opening a web page.execute arbitrary code in the context
of the affected application.
- to transfer a serialized Java SignedObject object to the remoting-based Jenkins CLI, that would be deserialized using a new
ObjectInputStream, bypassing the existing blacklist-based protection mechanism.
- impersonate any other Jenkins user on the same instance.
- crash the Java process.");
script_tag(name:"affected", value:"Jenkins main line 2.56 and prior, Jenkins LTS 2.46.1 and prior.");
script_tag(name:"solution", value:"Jenkins main line users should update to 2.57,
Jenkins LTS users should update to 2.46.2.");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/98056");
script_xref(name:"URL", value:"https://jenkins.io/security/advisory/2017-04-26/");
script_tag(name:"solution_type", value:"VendorFix");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2017 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_jenkins_consolidation.nasl", "os_detection.nasl");
script_mandatory_keys("jenkins/detected", "Host/runs_windows");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if( ! port = get_app_port( cpe:CPE ) )
exit( 0 );
if( ! infos = get_app_full( cpe:CPE, port:port, exit_no_version:TRUE ) )
exit( 0 );
version = infos["version"];
location = infos["location"];
proto = infos["proto"];
if( get_kb_item( "jenkins/" + port + "/is_lts" ) ) {
if( version_is_less( version:version, test_version:"2.46.2" ) ) {
vuln = TRUE;
fix = "2.46.2";
}
} else {
if( version_is_less( version:version, test_version:"2.57" ) ) {
vuln = TRUE;
fix = "2.57";
}
}
if( vuln ) {
report = report_fixed_ver( installed_version:version, fixed_version:fix, install_path:location );
security_message( port:port, data:report, proto:proto );
exit( 0 );
}
exit( 99 );
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
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AI Score
Confidence
High
EPSS
Percentile
99.9%