Jenkins < 2.176.2 LTS / 2.186 Multiple Vulnerabilities

high Nessus Plugin ID 127053
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

A job scheduling and management system hosted on the remote web server is affected by multiple vulnerabilities.

Description

The version of Jenkins running on the remote web server is prior to 2.186 or is a version of Jenkins LTS prior to 2.176.2. It is, therefore, affected by multiple vulnerabilities:

- An arbitrary file write vulnerability exists due to an incomplete fix for SECURITY-1074, the improper validation of the file parameter definition. An authenticated, remote attacker can exploit this, via a file name with a relative path escaping the base directory, to write arbitrary files on the remote host.
(CVE-2019-10352)

- A security bypass vulnerability exists due to insufficent validaiton of CSRF tokens. An unauthenticated, remote attacker can exploit this, after obtaining the CSRF token of another user, to bypass CSRF protections and implement a CSRF attack. (CVE-2019-10353)

- An information disclosure vulnerability exists in the Stapler web framework due to inadequit permission control of view fragments. An authenticated, remote attacker can exploit this, to disclose potentially sensitive information. (CVE-2019-10354)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade Jenkins to version 2.186 or later, Jenkins LTS to version 2.176.2 or later.

See Also

https://jenkins.io/security/advisory/2019-07-17/

https://www.tenable.com/security/research/tra-2019-35

Plugin Details

Severity: High

ID: 127053

File Name: jenkins_2_186.nasl

Version: 1.4

Type: combined

Agent: windows, macosx, unix

Family: CGI abuses

Published: 7/26/2019

Updated: 10/1/2021

Dependencies: jenkins_detect.nasl, jenkins_win_installed.nbin, jenkins_nix_installed.nbin, macosx_jenkins_installed.nbin

Risk Information

CVSS Score Source: CVE-2019-10353

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 3.8

Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:cloudbees:jenkins

Required KB Items: installed_sw/Jenkins

Exploit Ease: No known exploits are available

Patch Publication Date: 7/17/2019

Vulnerability Publication Date: 7/17/2019

Reference Information

CVE: CVE-2019-10352, CVE-2019-10353, CVE-2019-10354

BID: 109299, 109373