CVE-2019-10340: Jenkins Docker Plugin Cross-Site Request Forgery

Summary

24/05/2022
Yes i
High
8.8

CVE-2019-10340: Jenkins Docker Plugin contains Cross-Site Request Forgery. Affects io.jenkins.docker:docker-plugin versions < 1.1.7. Fixed in 1.1.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Jenkins Docker Plugin is a Maven package (io.jenkins.docker:docker-plugin) that provides integration between Jenkins and Docker, allowing users to build, deploy, and manage Docker containers within Jenkins. This plugin enables developers to leverage the power of Docker for their CI/CD workflows. However, versions 1.1.6 and earlier of the plugin are vulnerable to a Cross-Site Request Forgery (CSRF) attack.

Vulnerability Detail

The CSRF vulnerability in Jenkins Docker Plugin allows an attacker to exploit the DockerAPI.DescriptorImpl#doTestConnection method. By leveraging Overall/Read access, an attacker can connect to a URL of their choice using credentials IDs obtained through another method. This allows them to capture credentials stored in Jenkins. The impact of this vulnerability is significant as it can lead to unauthorized access, data leakage, and potential compromise of the Jenkins environment.

How To Fix

Minimum fixed version

1.1.7

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to the Jenkins Docker Plugin by limiting Overall/Read access to trusted individuals or groups. This can be done through Jenkins' access control settings. Additionally, it is advisable to regularly monitor Jenkins logs and audit trails for any suspicious activity.

Conclusion

The Jenkins Docker Plugin vulnerability (CVE-2019-10340) poses a significant risk to Jenkins instances using versions 1.1.6 and earlier of the plugin. It is crucial to promptly update to version 1.1.7 or later to mitigate the Cross-Site Request Forgery (CSRF) vulnerability. Regularly monitoring for security updates and maintaining an up-to-date plugin ecosystem is essential for maintaining a secure Jenkins environment. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for io.jenkins.docker:docker-plugin →

Share this vulnerability

FAQ

Cross-Site Request Forgery (CSRF) is an attack that tricks the victim into submitting a malicious request. In the case of the Jenkins Docker Plugin vulnerability, it allows an attacker to perform actions on behalf of an authenticated user without their consent.

The vulnerability can lead to unauthorized access to Jenkins, potential data leakage, and compromise of the Jenkins environment. Attackers can capture credentials stored in Jenkins and use them for malicious purposes.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins instance is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the pom.xml file of your application.

At the time of this report, there are no known public exploits specifically targeting this vulnerability. However, it is crucial to patch and update vulnerable versions of the Jenkins Docker Plugin to prevent potential exploitation.

If your Jenkins instance is affected, it is recommended to upgrade to version 1.1.7 or later of the Jenkins Docker Plugin. Additionally, review your Jenkins access control settings, restrict Overall/Read access to trusted individuals or groups, and monitor logs for any suspicious activity.

Related vulnerabilities

Recent vulnerabilities recorded for io.jenkins.docker:docker-plugin.

How To Fix

Minimum fixed version

1.1.7

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback