Jenkins < 2.263.3 LTS / 2.276 TOCTOU

medium Nessus Plugin ID 145533

Synopsis

A job scheduling and management system hosted on the remote web server is affected by a time-of-check to time-of-use race condition.

Description

The version of Jenkins running on the remote web server is prior to 2.276 weekly or 2.263.3 LTS. It is, therefore, affected by a time-of-check to time-of-use (TOCTOU) race condition that allows reading arbitrary files using the file browser for workspaces and archived artifacts.

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

Solution

Upgrade Jenkins to version 2.276 or later, Jenkins LTS to version 2.263.3 or later.

See Also

https://www.jenkins.io/security/advisory/2021-01-26/

Plugin Details

Severity: Medium

ID: 145533

File Name: jenkins_2_276.nasl

Version: 1.8

Type: combined

Agent: windows, macosx, unix

Family: CGI abuses

Published: 1/28/2021

Updated: 6/5/2024

Configuration: Enable thorough checks

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

Vector: CVSS2#AV:N/AC:M/Au:S/C:P/I:N/A:N

CVSS Score Source: CVE-2021-21615

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

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

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

Vulnerability Information

CPE: cpe:/a:jenkins:jenkins, cpe:/a:cloudbees:jenkins

Required KB Items: installed_sw/Jenkins

Exploit Ease: No known exploits are available

Patch Publication Date: 1/26/2021

Vulnerability Publication Date: 1/26/2021

Reference Information

CVE: CVE-2021-21615

IAVA: 2021-A-0047-S