Jenkins < 2.73.3 / 2.89 Multiple Vulnerabilities

high Nessus Plugin ID 104634

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.89 or is a version of Jenkins LTS prior to 2.73.3.
It is, therefore, affected by multiple vulnerabilities :

- Jenkins contains a flaw that allows traversing outside of a restricted path. The issue is due to the program not properly sanitizing user input, specifically slashes and path traversal style attacks (e.g. '../') supplied via usernames. With a specially crafted username, a remote attacker can overwrite arbitrary files on the system.

- Jenkins contains a flaw that allows a stored cross-site scripting (XSS) attack. This flaw exists because the program does not validate autocomplete suggestions before returning it to users. This may allow a remote attacker to create a specially crafted request that will execute arbitrary script code in a user's browser session within the trust relationship between their browser and the server.

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.89 or later, Jenkins LTS to version 2.73.3 or later.

See Also

https://jenkins.io/security/advisory/2017-11-08/

Plugin Details

Severity: High

ID: 104634

File Name: jenkins_2_89.nasl

Version: 1.10

Type: combined

Agent: windows, macosx, unix

Family: CGI abuses

Published: 11/16/2017

Updated: 6/5/2024

Configuration: Enable thorough checks

Supported Sensors: Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 4

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

CVSS Score Source: CVE-2017-1000391

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.8

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:X

Vulnerability Information

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

Required KB Items: installed_sw/Jenkins

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/8/2017

Vulnerability Publication Date: 11/8/2017

Reference Information

CVE: CVE-2017-1000391, CVE-2017-1000392

BID: 101773