Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:sonar-gerrit package, versions [0,]


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.06% (26th percentile)
Expand this section
NVD
6.5 medium

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-3164747
  • published 8 Dec 2022
  • disclosed 8 Dec 2022
  • credit Oleg Nenashev

How to fix?

There is no fixed version for org.jenkins-ci.plugins:sonar-gerrit.

Overview

org.jenkins-ci.plugins:sonar-gerrit is a Jenkins plugin for posting SonarQube issues as Gerrit review comments.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to not requiring POST requests for an HTTP endpoint. This allows attackers to have Jenkins connect to Gerrit servers (previously configured by Jenkins administrators) using attacker-specified credentials IDs obtained through another method, potentially capturing credentials stored in Jenkins.