CVE-2019-10423: Jenkins CodeScan Plugin Insufficiently Protected Credentials

Summary

24/05/2022
No i
Low
3.3

CVE-2019-10423: Jenkins CodeScan Plugin has Insufficiently Protected Credentials. Affects com.villagechief.codescan.jenkins:codescan versions < 1.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 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 Jenkins CodeScan Plugin is a Maven package that provides code scanning capabilities for Jenkins. It is used to analyze code quality and security issues in software projects. The plugin integrates with various code scanning tools and allows users to configure and run scans as part of their Jenkins build process. However, the plugin has a vulnerability that exposes an API key stored in an unencrypted format in its global configuration file. This API key can be accessed by users with file system access to the Jenkins controller.

Vulnerability Detail

The vulnerability in the Jenkins CodeScan Plugin arises from the insecure storage of an API key in its configuration file. The API key is stored in plain text in the file com.villagechief.codescan.jenkins.CodeScanBuilder.xml on the Jenkins controller. This means that any user with access to the file system can view the API key. The API key is used for authentication and authorization purposes, and its exposure can lead to unauthorized access to sensitive resources or actions. As of now, there is no fix available for this vulnerability.

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 there is no fix available for this vulnerability at the moment, users are advised to restrict file system access to the Jenkins controller to minimize the risk of unauthorized access to the API key. This can be achieved by implementing proper file system permissions and access controls. Additionally, users should monitor the file system for any unauthorized access or modifications to the configuration file.

Conclusion

The Jenkins CodeScan Plugin has a vulnerability that exposes an API key stored in an unencrypted format. This can lead to unauthorized access to sensitive resources or actions within the Jenkins environment. As of now, there is no fix available for this vulnerability. Users are advised to follow the recommended workaround and monitor their Jenkins environment for any unauthorized access or modifications. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.villagechief.codescan.jenkins:codescan →

Share this vulnerability

FAQ

The exposure of the API key can lead to unauthorized access to sensitive resources or actions within the Jenkins environment. This can result in data breaches, unauthorized code execution, or other malicious activities.

As of now, there is no fix available for this vulnerability. Users are advised to follow the recommended workaround and monitor their Jenkins environment for any unauthorized access or modifications.

No, this vulnerability requires file system access to the Jenkins controller. Remote exploitation is not possible unless an attacker gains unauthorized access to the file system.

The recommended mitigation is to restrict file system access to the Jenkins controller and monitor the file system for any unauthorized access or modifications. Additionally, users should regularly update the Jenkins CodeScan Plugin to ensure they receive any future fixes or patches for this vulnerability.

Users can consider using alternative code scanning plugins or tools that have a proven track record of secure credential storage. It is important to thoroughly evaluate the security features and practices of any plugin or tool before integrating it into the Jenkins environment.

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