GHSA-xhgq-h98j-859v

Suggest an improvement
Source
https://github.com/advisories/GHSA-xhgq-h98j-859v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-xhgq-h98j-859v/GHSA-xhgq-h98j-859v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xhgq-h98j-859v
Aliases
Published
2025-01-22T18:31:55Z
Modified
2025-01-23T23:29:01Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Incorrect permission check in Jenkins GitLab Plugin allows enumerating credentials IDs
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-285",
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-01-22T19:08:12Z",
    "nvd_published_at":  "2025-01-22T17:15:13Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:gitlab-plugin

Package

Name
org.jenkins-ci.plugins:gitlab-plugin
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/gitlab-plugin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.9.7

Affected versions

1.*
1.0.7
1.0.9
1.0.10
1.0.11
1.1.0
1.1.1
1.1.2
1.1.3
1.1.6
1.1.7
1.1.9
1.1.10
1.1.12
1.1.13
1.1.14
1.1.15
1.1.16
1.1.17
1.1.18
1.1.19
1.1.20
1.1.21
1.1.22
1.1.23
1.1.24
1.1.25
1.1.26
1.1.27
1.1.28
1.1.29
1.1.31
1.1.32
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.3.0
1.3.1
1.3.2
1.4.0
1.4.1
1.4.2
1.4.3
1.4.4
1.4.5
1.4.6
1.4.7
1.4.8
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.5.8
1.5.9
1.5.10
1.5.11
1.5.12
1.5.13
1.5.19
1.5.20
1.5.22
1.5.23
1.5.24
1.5.25
1.5.26
1.5.27
1.5.28
1.5.29
1.5.30
1.5.31
1.5.32
1.5.33
1.5.34
1.5.35
1.5.36
1.6.0
1.6.1
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
1.7.7
1.7.8
1.7.9
1.7.10
1.7.11
1.7.12
1.7.13
1.7.14
1.7.15
1.7.16
1.7.18
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.9.2
1.9.3
1.9.4
1.9.5
1.9.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-xhgq-h98j-859v/GHSA-xhgq-h98j-859v.json"