Incorrect permission check in Jenkins GitLab Plugin allows enumerating credentials IDs
Moderate severity
GitHub Reviewed
Published
Jan 22, 2025
to the GitHub Advisory Database
•
Updated Jan 22, 2025
Package
Affected versions
< 1.9.7
Patched versions
1.9.7
Description
Published by the National Vulnerability Database
Jan 22, 2025
Published to the GitHub Advisory Database
Jan 22, 2025
Reviewed
Jan 22, 2025
Last updated
Jan 22, 2025
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