CVE-2020-2296: CSRF vulnerability in Jenkins Shared Objects Plugin

Summary

24/05/2022
No i
Moderate
4.3

CVE-2020-2296: CSRF vulnerability in Jenkins Shared Objects Plugin. Affects org.jenkins-ci.plugins:shared-objects versions < 0.44. No fix is published. 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

Jenkins Shared Objects Plugin is a Maven package that provides functionality for configuring shared objects in Jenkins. It allows users to define reusable objects that can be shared across multiple Jenkins jobs. These shared objects can include configurations, scripts, and other resources. The plugin simplifies the management and reuse of these objects, enhancing the efficiency and consistency of Jenkins workflows.

Vulnerability Detail

A cross-site request forgery (CSRF) vulnerability has been identified in Jenkins Shared Objects Plugin version 0.44 and earlier. This vulnerability enables attackers to perform unauthorized configuration changes to shared objects. By tricking an authenticated user into visiting a malicious website or clicking on a specially crafted link, an attacker can exploit this vulnerability to modify shared objects without the user's knowledge or consent. The impact of this vulnerability can range from unauthorized access to sensitive information to disruption of Jenkins workflows.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can disable the Jenkins Shared Objects Plugin until the vulnerability is fixed. This can be done by navigating to the Manage Plugins section in Jenkins, selecting the Installed tab, locating the Jenkins Shared Objects Plugin, and disabling it. However, disabling the plugin will prevent the use of shared objects in Jenkins workflows, so it should only be considered as a short-term solution.

Conclusion

In conclusion, the CSRF vulnerability in Jenkins Shared Objects Plugin poses a moderate risk to Jenkins instances. It allows attackers to modify shared objects, potentially leading to unauthorized access or disruption of workflows. To mitigate this vulnerability, it is crucial to update the plugin to version 0.45 or later. Users can also use the Vulert Playground to check if their Jenkins instance is affected. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:shared-objects →

Share this vulnerability

FAQ

The vulnerability allows attackers to modify shared objects in Jenkins, potentially leading to unauthorized access to sensitive information or disruption of Jenkins workflows.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins instance is affected by this vulnerability. Simply input your pom.xml file and the playground will provide real-time alerts for open-source vulnerabilities, including this CSRF vulnerability.

Yes, a fix is available in Jenkins Shared Objects Plugin version 0.45 and later. It is recommended to update the plugin to the latest version to mitigate the CSRF vulnerability.

No, disabling the Jenkins Shared Objects Plugin will prevent the use of shared objects in Jenkins workflows. It is advisable to re-enable the plugin once it has been updated to a fixed version.

At the time of this advisory, there are no known public exploits for this vulnerability. However, it is important to promptly update the plugin to the latest version to prevent potential exploitation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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