Jenkins Docker Commons Plugin allows any user with Overall/Read permission to get list of valid credentials IDs
CVE-2017-1000094 · GHSA-69cj-g7mw-mh72
- Affected
- Maven org.jenkins-ci.plugins:docker-commons < 1.8
- Fixed in
- 1.8· Vendor fix available
- Issue
- Docker Commons Plugin provides a list of applicable credential IDs to allow users configuring a job to select the one they'd like to use to authenticate with a Docker Registry. This functionality did not check permissions, allowing any user with Overall/Read permission to get a list of valid credentials IDs. Those could be used as part of an attack to capture the credentials using another vulnerability. An enumeration of credentials IDs in this plugin now requires the permission to have Extended Read permission (when that permission is enabled; otherwise Configure permission) to the job in whose context credentials are being accessed. If no job context exists, Overall/Administer permission is required.
Recommended action: Upgrade to 1.8 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.