CVE-2022-28149: Stored Cross-site Scripting in Jenkins Job and Node ownership Plugin

Summary

30/03/2022
No i
High
8.0

CVE-2022-28149: Stored Cross-site Scripting vulnerability in Jenkins Job and Node ownership Plugin. Affects com.synopsys.jenkinsci:ownership versions < 0.13.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 Job and Node ownership Plugin is a Maven package (com.synopsys.jenkinsci:ownership) that provides functionality for managing ownership of Jenkins jobs and nodes. It allows users to assign primary and secondary owners to jobs and nodes, enabling better collaboration and access control. However, versions 0.13.0 and earlier of the plugin are vulnerable to a stored cross-site scripting (XSS) attack.

Vulnerability Detail

The vulnerability in the Jenkins Job and Node ownership Plugin arises from the lack of proper escaping of the names of secondary owners. This allows attackers with Item/Configure permission to inject malicious scripts into the plugin's interface, which can then be executed by unsuspecting users. The impact of this vulnerability can range from unauthorized access to sensitive information to complete control over the affected Jenkins instance. The vulnerability has a CVSS score of 8.0, indicating a high 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

If upgrading to the latest version of the plugin is not immediately feasible, a temporary workaround is to restrict Item/Configure permission to trusted users only. By limiting access to the configuration of jobs and nodes, the risk of exploitation can be mitigated. However, this is not a permanent solution, and it is strongly advised to apply the official fix by updating the plugin as soon as possible.

Conclusion

The Jenkins Job and Node ownership Plugin versions 0.13.0 and earlier are vulnerable to a stored cross-site scripting (XSS) attack. This can lead to unauthorized access, data theft, or complete control over the affected Jenkins instance. It is crucial to update the plugin to version 0.14.0 or later to mitigate the vulnerability. If immediate upgrading is not possible, restricting Item/Configure permission to trusted users can provide temporary protection. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.synopsys.jenkinsci:ownership →

Share this vulnerability

FAQ

The vulnerability allows attackers to execute arbitrary scripts in the context of unsuspecting users, potentially leading to unauthorized access, data theft, or complete control over the affected Jenkins instance.

Users of Jenkins Job and Node ownership Plugin versions 0.13.0 and earlier are affected by this vulnerability.

Yes, the vulnerability can be fixed by upgrading to version 0.14.0 or later of the Jenkins Job and Node ownership Plugin.

A temporary workaround is to restrict Item/Configure permission to trusted users only. However, it is recommended to apply the official fix by updating the plugin.

For more information about this vulnerability, you can refer to the CVE-2022-28149 entry or contact the Jenkins community for assistance.

Related vulnerabilities

Recent vulnerabilities recorded for com.synopsys.jenkinsci:ownership.

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