CVE-2025-24397: Incorrect permission check in Jenkins GitLab Plugin allows enumerating credentials IDs
The Jenkins GitLab Plugin 1.9.6 and earlier does not correctly perform a permission check in an HTTP endpoint. This allows attackers with global Item/Configure permission (while lacking Item/Configure permission on any particular job) to enumerate credential IDs of GitLab API token credentials and Secret text credentials stored in Jenkins.
Published Jan 22, 2025 · Updated Jan 23, 2025
Affected packages
org.jenkins-ci.plugins:gitlab-plugin
- Ecosystem
- Maven
- Affected
- < 1.9.7
- Fixed in
- 1.9.7
- Check
mvn dependency:tree -Dincludes=org.jenkins-ci.plugins:gitlab-plugin
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The Jenkins GitLab Plugin 1.9.6 and earlier does not correctly perform a permission check in an HTTP endpoint.
This allows attackers with global Item/Configure permission (while lacking Item/Configure permission on any particular job) to enumerate credential IDs of GitLab API token credentials and Secret text credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.
An enumeration of credential IDs in GitLab Plugin 1.9.7 requires Overall/Administer permission.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
