Cross-site Request Forgery (CSRF) Affecting io.jenkins.docker:docker-plugin package, versions [,1.1.7)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.46% (75th percentile)
Expand this section
NVD
8.8 high

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-IOJENKINSDOCKER-451613
  • published 16 Jul 2019
  • disclosed 11 Jul 2019
  • credit Oleg Nenashev, CloudBees, Inc.

How to fix?

Upgrade io.jenkins.docker:docker-plugin to version 1.1.7 or higher.

Overview

io.jenkins.docker:docker-plugin is a plugin that allows slaves to be dynamically provisioned using Docker.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). The plugin does not perform permission checks on a method implementing form validation. This allows users with Overall/Read access to Jenkins to 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, resulting in a cross-site request forgery vulnerability.

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