GitHub Advisoryadvisory · Maven

GHSA-6jp2-hggx-8j7p Jenkins GitHub Branch Source Plugin allows any user with Overall/Read permission to get list of valid credentials IDs

MEDIUM Published 2022-05-17 Modified 2022-12-12 Official page ↗
Aliases
CVE-2017-1000087
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:github-branch-source
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200
Reviewed
2022-12-12

Affected packages

• Maven org.jenkins-ci.plugins:github-branch-source: < 2.2.0-alpha-1 → fixed in 2.2.0-alpha-1

Description

GitHub Branch Source provides a list of applicable credential IDs to allow users configuring a job to select the one they'd like to use. This functionality did not check permissions, allowing any user with Overall/Read permission to get a list of valid credentials IDs. Those could be used as part of an attack to capture the credentials using another vulnerability. An enumeration of credentials IDs in this plugin now requires the permission to have Extended Read permission (when that permission is enabled; otherwise Configure permission) to the job in whose context credentials are being accessed. If no job context exists, Overall/Administer permission is required.

Related

Alias · CVE (1)

  • CVE-2017-1000087 GitHub Branch Source provides a list of applicable credential IDs to allow users configuring a job to select the one they'd like to use. vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References