NetSight
medium4.3

CVE-2022-20618

Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.jenkins-ci.plugins:cloudbees-bitbucket-branch-source>= 726.v7e6f53de133c, < 746.v350d2781c184746.v350d2781c184

Affected products

VendorProductAffected versions
JenkinsBitbucket Branch Source
through 2.9.10
Version 737.vdf9dc06105be

Weakness classification

References