Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source package, versions [,2.9.11.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.08% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGJENKINSCIPLUGINS-2359985
  • published 25 Jan 2022
  • disclosed 12 Jan 2022
  • credit Unknown

How to fix?

Upgrade org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source to version 2.9.11.2 or higher.

Overview

org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source is a package that allows to discover and build Bitbucket Cloud and Bitbucket Server pull requests and branches and send status notifications with the build result.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) by not enforcing POST requests to an HTTP endpoint, which could allow the exfiltration of credentials sent as part of the request. This allows attackers with Overall/Read access to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

7.1 high
Expand this section

Red Hat

7.1 high