CVE-2022-34812: Cross-Site Request Forgery in Jenkins XPath Configuration Viewer Plugin

Summary

01/07/2022
No i
Moderate
4.3

CVE-2022-34812: Cross-Site Request Forgery in Jenkins XPath Configuration Viewer Plugin. Affects org.jenkins-ci.plugins:xpath-config-viewer versions < 1.1.1. 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

The Jenkins XPath Configuration Viewer Plugin is a Maven package that provides functionality for viewing and managing XPath expressions in Jenkins. It is commonly used in Jenkins instances to configure XPath expressions for various purposes. However, versions 1.1.1 and earlier of this plugin are vulnerable to a cross-site request forgery (CSRF) attack.

Vulnerability Detail

The vulnerability allows attackers to create and delete XPath expressions through CSRF attacks. This means that an attacker can trick a user with administrative privileges into performing unintended actions, such as creating malicious XPath expressions or deleting existing ones. The impact of this vulnerability can range from unauthorized access to sensitive information to disruption of the Jenkins instance.

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

If upgrading the plugin is not immediately feasible, users can implement a workaround by disabling the XPath Configuration Viewer Plugin or restricting access to it. Disabling the plugin will prevent any potential CSRF attacks, but it will also remove the functionality provided by the plugin. Restricting access to the plugin can be done by adjusting the permissions and user roles in Jenkins to limit the number of users with access to the plugin.

Conclusion

In conclusion, the Jenkins XPath Configuration Viewer Plugin is vulnerable to a CSRF attack that allows attackers to create and delete XPath expressions. It is crucial to upgrade the plugin to version 1.1.2 or later to mitigate this vulnerability. If immediate upgrade is not possible, users can consider disabling the plugin or restricting access to it. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:xpath-config-viewer →

Share this vulnerability

FAQ

The vulnerability allows attackers to create and delete XPath expressions, potentially leading to unauthorized access to sensitive information or disruption of the Jenkins instance.

To fix this vulnerability, upgrade the Jenkins XPath Configuration Viewer Plugin to version 1.1.2 or later.

Yes, disabling the XPath Configuration Viewer Plugin will prevent potential CSRF attacks, but it will also remove the functionality provided by the plugin.

If upgrading the plugin is not immediately feasible, users can restrict access to the plugin by adjusting permissions and user roles in Jenkins.

Yes, the CVSS score for this vulnerability is 4.3.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:xpath-config-viewer.

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