CVE-2022-45392: Plaintext Storage of a Password in Jenkins NS-ND Integration Performance Publisher Plugin

Summary

16/11/2022
Yes i
Moderate
6.5

CVE-2022-45392: Plaintext Storage of a Password in Jenkins NS-ND Integration Performance Publisher Plugin. Affects io.jenkins.plugins:cavisson-ns-nd-integration versions < 4.8.0.146. Fixed in 4.8.0.146. 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 NS-ND Integration Performance Publisher Plugin is a plugin for Jenkins, an open-source automation server. This plugin allows users to integrate performance data from Cavisson NetStorm and NetDiagnostics tools into their Jenkins pipelines. It provides functionality to publish performance reports and metrics as part of the Jenkins job.

The vulnerability in the NS-ND Integration Performance Publisher Plugin allows passwords to be stored in plaintext in the job config.xml files on the Jenkins controller. This means that sensitive information, such as passwords, are not properly protected and can be accessed by attackers with Item/Extended Read permission or access to the Jenkins controller file system.

The vulnerability has a CVSS score of 4.3, indicating a moderate severity level.

Vulnerability Detail

The NS-ND Integration Performance Publisher Plugin version 4.8.0.143 and earlier stores passwords unencrypted in job config.xml files on the Jenkins controller. This means that anyone with access to these files can view the passwords in plaintext. Attackers with Item/Extended Read permission or access to the Jenkins controller file system can exploit this vulnerability.

The impact of this vulnerability is that sensitive information, such as passwords, can be easily accessed by unauthorized individuals. This can lead to unauthorized access to systems, data breaches, and other security incidents.

The NS-ND Integration Performance Publisher Plugin version 4.8.0.146 addresses this vulnerability by encrypting passwords once job configurations are saved again.

How To Fix

Minimum fixed version

4.8.0.146

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version of the NS-ND Integration Performance Publisher Plugin is not immediately possible, users can manually encrypt the passwords in the job config.xml files. This can be done by editing the files and replacing the plaintext passwords with their encrypted versions.

Here is an example of how to encrypt a password using the Jenkins CLI:

$ java -jar jenkins-cli.jar -s http://jenkins-server encrypt-password 'mysecretpassword'

Replace http://jenkins-server with the URL of your Jenkins server and mysecretpassword with the actual password. The command will output the encrypted version of the password, which can then be used in the config.xml file.

Note that this workaround is not recommended as it requires manual intervention and may introduce human error. Upgrading to the latest version of the plugin is the recommended solution.

Conclusion

The NS-ND Integration Performance Publisher Plugin version 4.8.0.143 and earlier is vulnerable to plaintext storage of passwords in job config.xml files. This can lead to unauthorized access to sensitive information. To mitigate this vulnerability, it is recommended to upgrade to version 4.8.0.146 or later, which encrypts passwords in the config.xml files. If immediate upgrade is not possible, users can manually encrypt the passwords as a workaround. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for io.jenkins.plugins:cavisson-ns-nd-integration →

Share this vulnerability

FAQ

The impact of this vulnerability is that sensitive information, such as passwords, can be easily accessed by unauthorized individuals. This can lead to unauthorized access to systems, data breaches, and other security incidents.

Attackers with Item/Extended Read permission or access to the Jenkins controller file system can exploit this vulnerability.

To fix this vulnerability, users should upgrade to NS-ND Integration Performance Publisher Plugin version 4.8.0.146 or later. This version encrypts passwords in job config.xml files, providing better protection for sensitive information.

If upgrading to the latest version of the NS-ND Integration Performance Publisher Plugin is not immediately possible, users can manually encrypt the passwords in the job config.xml files. However, this workaround is not recommended as it requires manual intervention and may introduce human error.

Related vulnerabilities

Recent vulnerabilities recorded for io.jenkins.plugins:cavisson-ns-nd-integration.

How To Fix

Minimum fixed version

4.8.0.146

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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