GitHub Advisoryadvisory · Maven
GHSA-w2mh-6xj5-f77f Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2022-20618
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-732, CWE-862
- Reviewed
- 2022-06-20
Affected packages
• Maven org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source: >= 726.v7e6f53de133c, < 746.v350d2781c184 → fixed in 746.v350d2781c184
• Maven org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source: >= 720.vbe985dd73d66, < 725.vd9f8be0fa250 → fixed in 725.vd9f8be0fa250
• Maven org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source: >= 2.9.8, < 2.9.11.2 → fixed in 2.9.11.2
• Maven org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source: < 2.9.7.2 → fixed in 2.9.7.2
Description
Jenkins Bitbucket Branch Source Plugin prior to 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 does not perform permission checks in several HTTP endpoints.
This allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.
An enumeration of credentials IDs in Bitbucket Branch Source Plugin 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 requires the appropriate permissions.
Related
Alias · CVE (1)
- CVE-2022-20618 A missing permission check in Jenkins Bitbucket Branch Source Plugin 737.vdf9dc06105be and earlier allows attackers with Overall/Read… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-20618 advisory
- https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/467ed6c94af8735c4755d53145a54325ae82d073 web
- https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20618.json web
- https://github.com/jenkinsci/bitbucket-branch-source-plugin package
- https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2033 web
- http://www.openwall.com/lists/oss-security/2022/01/12/6 web