high8.8
CVE-2017-1000354
Improper Authentication in Jenkins
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.main:jenkins-core | >= 2.50, <= 2.56 | 2.57 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Jenkins | through 2.56 through 2.46.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.securityfocus.com/bid/98065
- https://jenkins.io/security/advisory/2017-04-26/
- https://github.com/advisories/GHSA-r57f-7xw3-q2r9
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000354
- https://github.com/jenkinsci/jenkins/commit/02d24053bdfeb219d2387a19885a60bdab510479
- https://jenkins.io/security/advisory/2017-04-26
- https://web.archive.org/web/20200227174424/http://www.securityfocus.com/bid/98065