CVE-2018-1000601: Jenkins SSH Credentials Plugin - Exposure of Sensitive Information

Summary

14/05/2022
Yes i
Moderate
6.5

CVE-2018-1000601: Exposure of Sensitive Information to an Unauthorized Actor in Jenkins SSH Credentials Plugin. Affects org.jenkins-ci.plugins:ssh-credentials versions < 1.14. Fixed in 1.14. 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 SSH Credentials Plugin is a Maven package (org.jenkins-ci.plugins:ssh-credentials) that provides functionality for managing SSH credentials in Jenkins. It allows users to securely store and use SSH private keys for authentication purposes. This plugin is widely used in Jenkins installations for managing SSH credentials and enabling secure communication with remote systems.

Vulnerability Detail

The Jenkins SSH Credentials Plugin version 1.13 and earlier, specifically the BasicSSHUserPrivateKey.java file, is vulnerable to an arbitrary file read vulnerability. This vulnerability allows attackers with a Jenkins account and the permission to configure credential bindings to read arbitrary files from the Jenkins master file system. By exploiting this vulnerability, an unauthorized actor can gain access to sensitive information stored on the Jenkins server, potentially leading to further compromise of the system.

How To Fix

Minimum fixed version

1.14

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

As a temporary workaround, users can restrict the permissions of Jenkins accounts to limit access to sensitive files. Additionally, it is advisable to monitor the Jenkins server for any unauthorized access attempts and regularly review the access controls and permissions assigned to Jenkins accounts.

Conclusion

The Jenkins SSH Credentials Plugin version 1.13 and earlier is vulnerable to an arbitrary file read vulnerability, which can result in unauthorized access to sensitive information stored on the Jenkins server. It is crucial to upgrade to version 1.14 or later to fix this vulnerability and prevent potential compromise of the system. Restricting permissions and monitoring for unauthorized access attempts can provide temporary mitigation. For additional support and guidance, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:ssh-credentials →

Share this vulnerability

FAQ

This vulnerability allows attackers with a Jenkins account and the permission to configure credential bindings to read arbitrary files from the Jenkins master file system. It can lead to unauthorized access to sensitive information stored on the Jenkins server.

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 in real-time to identify any open-source vulnerabilities, including this one.

At the time of this advisory, there are no known public exploits specifically targeting this vulnerability. However, it is important to promptly apply the recommended fix to mitigate the risk of unauthorized access to sensitive information.

While upgrading to the latest version of the Jenkins SSH Credentials Plugin is the recommended solution, you can temporarily mitigate the risk by restricting the permissions of Jenkins accounts and monitoring for any unauthorized access attempts.

For further support and assistance in remediating this vulnerability, you can reach out to info@devnack.com. Our team of experts will be happy to assist you in securing your Jenkins installation.

How To Fix

Minimum fixed version

1.14

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