Rapid7 Vulnerability & Exploit Database

Jenkins Advisory 2017-04-26: CVE-2017-1000354: CLI: Login command allowed impersonating any Jenkins user

Back to Search

Jenkins Advisory 2017-04-26: CVE-2017-1000354: CLI: Login command allowed impersonating any Jenkins user

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Published
11/13/2017
Created
07/25/2018
Added
11/13/2017
Modified
02/20/2018

Description

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.

Solution(s)

  • jenkins-lts-upgrade-2_46_2
  • jenkins-upgrade-2_57

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;