Cross-site Request Forgery (CSRF) Affecting org.jenkins-ci.plugins:gitlab-plugin package, versions [,1.5.12)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.17% (55th 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-6056431
  • published18 Apr 2019
  • disclosed18 Apr 2019
  • creditPeter Adkins of Cisco Umbrella

Introduced: 18 Apr 2019

CVE-2019-10301  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade org.jenkins-ci.plugins:gitlab-plugin to version 1.5.12 or higher.

Overview

org.jenkins-ci.plugins:gitlab-plugin allows GitLab to trigger builds in Jenkins when code is committed or merge requests are opened / updated. It can also send build status back to GitLab.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) due to lack of permission checks on the form validation. A malicious user with Overall/Read access could connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins. Additionally, this form validation method did not require POST requests. This validation process now requires POST requests and Overall/Administer permissions.

NOTE: This vulnerability has also been identified as: CVE-2019-10300

CVSS Scores

version 3.1