Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:pipeline-maven package, versions [,3.8.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.08% (36th 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 Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGJENKINSCIPLUGINS-6209208
  • published29 Jan 2024
  • disclosed13 Aug 2020
  • creditTim Jacomb

Introduced: 13 Aug 2020

CVE-2020-2235  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:pipeline-maven to version 3.8.3 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). Pipeline Maven Integration Plugin 3.8.2 and earlier does not perform a permission check in a method implementing form validation.This allows users with Overall/Read access to Jenkins to connect to an attacker-specified JDBC URL using attacker-specified credentials IDs obtained through another method, potentially capturing credentials stored in Jenkins.Additionally, this form validation method does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.

CVSS Scores

version 3.1