GitHub Advisoryadvisory · Maven
GHSA-jwr9-h4jm-c9ch Missing permission checks in Jenkins CloudBees AWS Credentials Plugin allows enumerating credentials IDs
MEDIUM
Official page ↗
- Aliases
- CVE-2021-21625
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:aws-credentials
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-862
- Reviewed
- 2022-12-14
Affected packages
• Maven org.jenkins-ci.plugins:aws-credentials: < 1.28.1 → fixed in 1.28.1
Description
CloudBees AWS Credentials Plugin 1.28 and earlier does not perform a permission check in a helper method for HTTP endpoints.
This allows attackers with Overall/Read permission to enumerate credentials IDs of AWS credentials stored in Jenkins if any of the following plugins are installed:
• Amazon Elastic Container Service (ECS) / Fargate
• AWS Parameter Store Build Wrapper
• AWS SAM\n\nFurther plugins may use this helper method as well without performing a permission check themselves.
Credentials IDs obtained this way can be used as part of an attack to capture the credentials using another vulnerability.
CloudBees AWS Credentials Plugin 1.28.1 performs permission checks in the helper method for HTTP endpoints.
Related
Alias · CVE (1)
- CVE-2021-21625 Jenkins CloudBees AWS Credentials Plugin 1.28 and earlier does not perform a permission check in a helper method for HTTP endpoints,… vulnerability
Weakness · CWE (1)
- CWE-862 Missing Authorization weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-21625 advisory
- https://github.com/jenkinsci/aws-credentials-plugin/commit/dd477a071bd633d9118c63dc3f19a2fd0590aecb web
- https://github.com/jenkinsci/aws-credentials-plugin package
- https://www.jenkins.io/security/advisory/2021-03-18/#SECURITY-2032 web
- http://www.openwall.com/lists/oss-security/2021/03/18/5 web