4.3medium
Missing permission checks in Jenkins CloudBees AWS Credentials Plugin allows enumerating credentials IDs
- Severity
- 4.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.73% (higher than 55% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-jwr9-h4jm-c9ch
Description
Jenkins CloudBees AWS Credentials Plugin 1.28 and earlier does not perform a permission check in a helper method for HTTP endpoints, allowing attackers with Overall/Read permission to enumerate credentials IDs of AWS credentials stored in Jenkins in some circumstances.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins CloudBees AWS Credentials Plugin | from unspecified up to 1.28 | CVE List |
| org.jenkins-ci.plugins:aws-credentials (Maven) | before 1.28.1 | GitHub Advisory Database |
| jenkins cloudbees_aws_credentials | up to 1.28 | NVD |
All scores
| GitHub | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Classification
What each source says
CVE List
Jenkins CloudBees AWS Credentials Plugin 1.28 and earlier does not perform a permission check in a helper method for HTTP endpoints, allowing attackers with Overall/Read permission to enumerate credentials IDs of AWS credentials stored in Jenkins in some circumstances.
GitHub Advisory Database
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.
NVD (es)
Jenkins CloudBees AWS Credentials Plugin versiones 1.28 y anteriores, no lleva a cabo una comprobación de permisos en un método auxiliar para endpoints HTTP, permitiendo a atacantes con permiso Overall/Read enumerar los ID de credenciales de las credenciales de AWS almacenadas en Jenkins en algunas circunstancias
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21625 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jwr9-h4jm-c9ch changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2021-21625 changed 2026-06-17 | Public domain |