Jenkins ( < 2.235.2 LTS / < 2.245 Weekly) Multiple Stored XSS (Jenkins Security Advisory 2020-07-15)

medium Nessus Plugin ID 138887

Synopsis

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

Description

The version of Jenkins running on the remote web server is prior to 2.245 or is a version of Jenkins LTS prior to 2.235.2. It is, therefore, affected by multiple stored cross-site scripting (XSS) vulnerabilities in various components including its build time trend page, build cause page, tooltips & build console page. This is due to improper validation of user-supplied input before returning it to users. An authenticated, remote attacker can exploit this, by convincing a user to click a specially crafted URL, to execute arbitrary script code in a user's browser session.

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 weekly to version 2.245 or later. Upgrade Jenkins LTS to version 2.235.2 or later.

See Also

http://www.nessus.org/u?1846d83d

Plugin Details

Severity: Medium

ID: 138887

File Name: jenkins_security_advisory_2020-07-15.nasl

Version: 1.8

Type: combined

Agent: windows, macosx, unix

Family: CGI abuses

Published: 7/24/2020

Updated: 6/5/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent, Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Low

Score: 3.0

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.6

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

CVSS Score Source: CVE-2020-2223

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

Temporal Vector: CVSS:3.0/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/15/2020

Vulnerability Publication Date: 7/15/2020

Reference Information

CVE: CVE-2020-2220, CVE-2020-2221, CVE-2020-2222, CVE-2020-2223

IAVA: 2020-A-0337-S