medium6.5
CVE-2021-21643
Incorrect permission checks in Jenkins Config File Provider Plugin allow enumerating credentials IDs
Impact
Jenkins Config File Provider Plugin 3.7.0 and earlier does not correctly perform permission checks in several HTTP endpoints. This allows attackers with global Job/Configure permission to enumerate system-scoped credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability. An enumeration of system-scoped credentials IDs in Jenkins Config File Provider Plugin 3.7.1 requires Overall/Administer permission.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.jenkins-ci.plugins:config-file-provider | <= 3.7.0 | 3.7.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jenkins | Config File Provider | through 3.7.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://www.openwall.com/lists/oss-security/2021/04/21/2
- https://www.jenkins.io/security/advisory/2021-04-21/#SECURITY-2254
- https://github.com/advisories/GHSA-3m3f-2323-64m7
- https://nvd.nist.gov/vuln/detail/CVE-2021-21643
- https://github.com/jenkinsci/config-file-provider-plugin/commit/d615e3278358b033f5e8d0d2e3f38f467b0e29f2