Rapid7 Vulnerability & Exploit Database

Jenkins Advisory 2017-02-01: CVE-2017-1000362: Re-key admin monitor leaves behind unencrypted credentials in upgraded installations

Back to Search

Jenkins Advisory 2017-02-01: CVE-2017-1000362: Re-key admin monitor leaves behind unencrypted credentials in upgraded installations

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:P/I:N/A:N)
Published
07/17/2017
Created
07/25/2018
Added
11/13/2017
Modified
12/01/2017

Description

The re-key admin monitor was introduced in Jenkins 1.498 and re-encrypted all secrets in JENKINS_HOME with a new key. It also created a backup directory with all old secrets, and the key used to encrypt them. These backups were world-readable and not removed afterwards. Jenkins now deletes the backup directory, if present. Upgrading from before 1.498 will no longer create a backup directory. Administrators relying on file access permissions in their manually created backups are advised to check them for the directory $JENKINS_HOME/jenkins.security.RekeySecretAdminMonitor/backups, and delete it if present.

Solution(s)

  • jenkins-lts-upgrade-2_32_2
  • jenkins-upgrade-2_44

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

;