Auth bypass in Jenkins

CVE-2017-1000354

Jenkins versions 2.56 and earlier as well as 2.46.1 LTS and earlier are vulnerable to a login command which allowed impersonating any Jenkins user. The `login` command available in the remoting-based CLI stored the encrypted user name of the successfully authenticated user in a cache file used to authenticate further commands. Users with sufficient permission to create secrets in Jenkins, and download their encrypted values (e.g. with Job/Configure permission), were able to impersonate any other Jenkins user on the same instance.

Vulnerability class: Broken Authentication

EPSS: 0.012 (65.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2017-1000354?
CVE-2017-1000354 is a high-severity vulnerability in Jenkins, classified under Improper Authentication. CVSS score: 8.8/10. Published 2018-01-29.
How severe is CVE-2017-1000354?
High severity. CVSS v3 base score is 8.8 out of 10.