PT-2018-5165 · Cloudbees+1 · Jenkins

Jesse Glick

·

Published

2018-01-29

·

Updated

2022-05-14

·

CVE-2017-1000354

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Jenkins versions 2.56 and earlier Jenkins version 2.46.1 LTS and earlier
Description The issue allows impersonating any Jenkins user through a login command. The login command in the remoting-based CLI stores the encrypted user name of the successfully authenticated user in a cache file used for further command authentication. Users with sufficient permission to create secrets in Jenkins and download their encrypted values can impersonate any other Jenkins user on the same instance.
Recommendations For Jenkins versions 2.56 and earlier, update to a version later than 2.56 to resolve the issue. For Jenkins version 2.46.1 LTS and earlier, update to a version later than 2.46.1 LTS to resolve the issue. As a temporary workaround, consider restricting the permission to create secrets in Jenkins and download their encrypted values to minimize the risk of exploitation.

Fix

Improper Authentication

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2017-1000354
GHSA-R57F-7XW3-Q2R9

Affected Products

Jenkins