CVE-2022-36904: Jenkins Repository Connector Plugin - Permission Check Bypass

Summary

28/07/2022
No i
Moderate
4.3

CVE-2022-36904: Jenkins Repository Connector Plugin 2.2.0 and earlier does not perform a permission check in a method implementing form validation. Affects org.jenkins-ci.plugins:repository-connector versions < 2.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Jenkins Repository Connector Plugin is a Maven plugin that allows Jenkins to interact with external repositories. It provides functionality for downloading artifacts from repositories and uploading artifacts to repositories. This plugin is widely used in Jenkins environments to manage dependencies and artifacts. However, versions 2.2.0 and earlier of the plugin are vulnerable to a permission check bypass.

Vulnerability Detail

The vulnerability in the Jenkins Repository Connector Plugin allows attackers with Overall/Read permission to check for the existence of a file on the Jenkins controller file system. This is due to a lack of permission check in a method implementing form validation. By exploiting this vulnerability, an attacker can determine the presence of arbitrary files on the system, potentially leading to further attacks or unauthorized access.

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 known workaround for this vulnerability. It is necessary to apply the fix by upgrading to a secure version of the Jenkins Repository Connector Plugin.

Conclusion

The Jenkins Repository Connector Plugin versions 2.2.0 and earlier are vulnerable to a permission check bypass, allowing attackers with Overall/Read permission to check for the existence of arbitrary files on the Jenkins controller file system. To mitigate this vulnerability, it is crucial to upgrade to a fixed version of the plugin (2.2.1 or later) and review user permissions. For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:repository-connector →

Share this vulnerability

FAQ

This vulnerability allows attackers to check for the existence of arbitrary files on the Jenkins controller file system. While it does not directly grant access to the contents of the files, it can provide valuable information for further attacks or unauthorized access.

Users of Jenkins Repository Connector Plugin versions 2.2.0 and earlier are affected by this vulnerability.

There are no known public exploits for this vulnerability at the time of this report. However, it is advisable to apply the fix as soon as possible to mitigate the risk.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins installation is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:repository-connector.

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