CVE-2022-36908: CSRF vulnerability in Jenkins OpenShift Deployer Plugin

Summary

28/07/2022
No i
Moderate
5.4

CVE-2022-36908: CSRF vulnerability in Jenkins OpenShift Deployer Plugin. Affects org.jenkins-ci.plugins:openshift-deployer versions < 1.2.0. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The OpenShift Deployer Plugin is a Maven package that integrates with Jenkins, a popular open-source automation server. This plugin allows users to deploy applications to OpenShift, a containerization platform. It provides functionality for managing deployments, scaling applications, and monitoring their status. The OpenShift Deployer Plugin version 1.2.0 and earlier are affected by a CSRF vulnerability.

Vulnerability Detail

The CSRF vulnerability in the OpenShift Deployer Plugin arises from a lack of permission checks in certain form validation methods. These methods do not require POST requests, making it possible for an attacker to forge a request on behalf of a victim user. By tricking the victim into visiting a malicious website or clicking on a specially crafted link, the attacker can perform unauthorized actions on the victim's behalf within the Jenkins environment. This vulnerability has a CVSS score of 5.4, indicating a moderate severity level.

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

There is no specific workaround mentioned for this vulnerability. However, users can mitigate the risk by implementing additional security measures, such as using CSRF tokens in their Jenkins environment and regularly monitoring and reviewing Jenkins logs for suspicious activity.

Conclusion

The CSRF vulnerability in the OpenShift Deployer Plugin exposes Jenkins installations to the risk of unauthorized actions being performed within the environment. To mitigate this risk, users should upgrade to a non-affected version of the plugin, follow security best practices, and monitor their Jenkins logs for any suspicious activity. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:openshift-deployer →

Share this vulnerability

FAQ

Cross-Site Request Forgery (CSRF) is an attack that tricks the victim into performing unwanted actions on a web application in which they are authenticated. In the case of the OpenShift Deployer Plugin, it allows an attacker to perform unauthorized actions on behalf of a victim user within the Jenkins environment.

The CSRF vulnerability in the OpenShift Deployer Plugin can lead to unauthorized actions being performed within the Jenkins environment. This can include deploying or modifying applications, scaling resources, and accessing sensitive information.

At the time of this advisory, there is no known public exploit for this vulnerability. However, it is important to address the vulnerability promptly to prevent potential exploitation.

To exploit this vulnerability, an attacker needs to trick a victim user into visiting a malicious website or clicking on a specially crafted link. The victim user must also have the necessary permissions within the Jenkins environment to perform the actions triggered by the CSRF attack.

Yes, the vulnerability has been fixed in versions of the OpenShift Deployer Plugin later than 1.2.0. It is recommended to update to the latest version to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:openshift-deployer.

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