CVE-2020-2157: Credentials transmitted in plain text by Skytap Cloud CI Plugin

Summary

24/05/2022
No i
Low
3.1

CVE-2020-2157: Credentials transmitted in plain text by Skytap Cloud CI Plugin. Affects org.jenkins-ci.plugins:skytap versions < 2.07. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Skytap Cloud CI Plugin is a Maven package that provides integration between Jenkins and Skytap Cloud. It allows users to create and manage Skytap environments as part of their Jenkins CI/CD workflows. The plugin enables developers to automate the provisioning and configuration of Skytap environments for testing and deployment purposes. However, the plugin is vulnerable to a security issue that involves the transmission of credentials in plain text.

Vulnerability Detail

The Skytap Cloud CI Plugin stores credentials in job config.xml files as part of its configuration. Although the credentials are encrypted on disk, they are transmitted in plain text as part of the configuration form by Skytap Cloud CI Plugin versions 2.07 and earlier. This means that users with Extended Read permission can potentially view these credentials. The vulnerability has a CVSS score of 3.1, indicating a low 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

As a workaround, users can revoke the Extended Read permission for users who should not have access to the credentials. This can be done by modifying the permissions settings in the Jenkins configuration. Additionally, users can manually encrypt the credentials before storing them in the config.xml files. This can be achieved using encryption tools or libraries available for the specific programming language or framework being used.

Conclusion

In conclusion, the Skytap Cloud CI Plugin is vulnerable to the transmission of credentials in plain text. This can potentially lead to unauthorized access to sensitive information. Users should upgrade to a non-affected version of the plugin and ensure that the credentials are properly protected. Revoking Extended Read permission and manually encrypting the credentials can also mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability allows users with Extended Read permission to view the credentials stored in the config.xml files. This could potentially lead to unauthorized access to sensitive information, such as API keys or passwords.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation. Simply provide your pom.xml file to Vulert's playground to check for vulnerabilities.

Yes, there is a patch available for this vulnerability. Users should upgrade to a version of the Skytap Cloud CI Plugin that is not affected by this issue. It is recommended to update to the latest version available.

Yes, you can mitigate the risk by revoking the Extended Read permission for users who should not have access to the credentials. Additionally, you can manually encrypt the credentials before storing them in the config.xml files.

You can find more information about this vulnerability, including the CVE identifier, on the official GitHub Advisory Database (https://github.com/github/advisory-database).

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:skytap.

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