CVE-2019-10317: Jenkins SiteMonitor Plugin SSL/TLS Certificate Validation Bypass

Summary

24/05/2022
Yes i
Moderate
6.5

CVE-2019-10317: Jenkins SiteMonitor Plugin globally and unconditionally disables SSL/TLS certificate validation. Affects org.jvnet.hudson.plugins:sitemonitor versions < 0.6. Fixed in 0.6. 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 Your last release was probably never penetration tested 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 SiteMonitor Plugin is a Maven-based package that provides functionality for monitoring the availability and response time of websites. It is commonly used in Jenkins controllers to ensure the proper functioning of external sites. However, prior to version 0.6, the plugin had a vulnerability that globally and unconditionally disabled SSL/TLS certificate validation for the entire Jenkins controller JVM. This meant that any SSL/TLS errors were ignored, potentially exposing the controller to man-in-the-middle attacks or other security risks.

Vulnerability Detail

The vulnerability (CVE-2019-10317) in the Jenkins SiteMonitor Plugin allowed SSL/TLS certificate validation to be disabled without any checks or conditions. This meant that even if a website's SSL/TLS certificate was invalid or compromised, the plugin would still consider the site as valid and functioning properly. This vulnerability could be exploited by attackers to intercept or manipulate the communication between the Jenkins controller and external sites, leading to potential data breaches or unauthorized access. The severity of this vulnerability is rated as MODERATE with a CVSS score of 6.5.

How To Fix

Minimum fixed version

0.6

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 the Jenkins SiteMonitor Plugin is not immediately feasible, a temporary workaround can be implemented by manually validating SSL/TLS certificates for each site check. This can be achieved by modifying the plugin's source code to include certificate validation logic or by using a custom script that performs certificate validation before invoking the plugin's functionality. However, it is strongly recommended to upgrade to the latest version of the plugin as soon as possible to ensure long-term security.

Conclusion

The Jenkins SiteMonitor Plugin prior to version 0.6 had a vulnerability that disabled SSL/TLS certificate validation for the entire Jenkins controller JVM. This could lead to potential security risks and unauthorized access. To mitigate this vulnerability, it is crucial to upgrade the plugin to version 0.6 or later, which introduces an opt-in option for SSL/TLS error handling. Additionally, manual validation of SSL/TLS certificates can be used as a temporary workaround. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.jvnet.hudson.plugins:sitemonitor →

Share this vulnerability

FAQ

This vulnerability allows SSL/TLS certificate validation to be bypassed, potentially exposing the Jenkins controller to man-in-the-middle attacks or unauthorized access to external sites.

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 using just the pom.xml file, without requiring access to the code or installation.

Yes, upgrading the Jenkins SiteMonitor Plugin to version 0.6 or later fixes this vulnerability by introducing an opt-in option for SSL/TLS error handling.

Yes, you can manually validate SSL/TLS certificates for each site check by modifying the plugin's source code or using a custom script. However, upgrading to the latest version of the plugin is strongly recommended.

The severity of this vulnerability is rated as MODERATE with a CVSS score of 6.5.

Related vulnerabilities

Recent vulnerabilities recorded for org.jvnet.hudson.plugins:sitemonitor.

How To Fix

Minimum fixed version

0.6

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