CVE-2017-1000354
Improper Authentication in Jenkins
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.jenkins-ci.main » jenkins-core | < 2.46.2>= 2.50, < 2.57 | 2.46.2, 2.57 |
Blast radius
42% of the dependent artifacts (35) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,054 |
| 2 hops | 654 |
| 3 hops | 11 |
| 4 hops | 81 |
| 5 hops | 26 |
| 6 hops | 66 |
Most used dependents
- org.jenkins-ci.main » jenkins-test-harness99 usages
- org.jenkins-ci.plugins » job-dsl71 usages
- org.jenkins-ci.main » jenkins-war62 usages
- org.jenkins-ci.main » jenkins-test-harness-tools37 usages
- org.jenkins-ci.plugins » config-file-provider32 usages
- io.jenkins.blueocean » blueocean-rest-impl12 usages
- org.csanchez.jenkins.plugins » kubernetes11 usages
- io.jenkins.blueocean » blueocean-pipeline-api-impl9 usages
- org.jenkins-ci.lib » xtrigger-lib9 usages
- org.jenkins-ci.plugins » ws-cleanup6 usages
- org.jenkins-ci.plugins » resource-disposer6 usages
- io.jenkins.blueocean » blueocean-events4 usages
- org.jenkins-ci.tests » plugins-compat-tester-model3 usages
- io.jenkins.blueocean » blueocean3 usages
- org.marvelution.jji » jenkins-jira-plugin3 usages
Computed from the dependency graph of build 20261202.2045 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2017-1000354 | nvd.nist.gov |
| Package | jenkinsci/jenkins | github.com |
| Web | jenkinsci/jenkins commit 02d2405 | github.com |
| Web | security/advisory/2017-04-26 | jenkins.io |
| Web | web/20200227174424/http:/www.securityfocus.com/bid/98065 | web.archive.org |
