CVE-2022-25206: Missing Authorization in Jenkins dbCharts Plugin

Summary

16/02/2022
No i
High
8.8

CVE-2022-25206: Missing Authorization in Jenkins dbCharts Plugin. Affects org.jenkins-ci.plugins:dbCharts versions < 0.5.2. 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 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 dbCharts Plugin is a Maven package that provides functionality for generating charts and graphs based on data from a database. It allows users to visualize and analyze data in a graphical format. The plugin integrates with Jenkins, an open-source automation server, to provide data visualization capabilities within the Jenkins environment. However, versions 0.5.2 and earlier of the dbCharts Plugin have a vulnerability that allows attackers with Overall/Read permission to connect to a specified database using attacker-specified credentials via JDBC.

Vulnerability Detail

The vulnerability in the Jenkins dbCharts Plugin arises from a missing authorization check. Attackers with Overall/Read permission can exploit this vulnerability to connect to a database of their choice using their own credentials. This can lead to unauthorized access to sensitive data stored in the database. The vulnerability has a CVSS score of 5.4, indicating a moderate severity level. The Common Weakness Enumeration (CWE) ID associated with this vulnerability is CWE-862.

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

There is no specific workaround available for this vulnerability. However, as a general security best practice, it is recommended to follow the principle of least privilege when assigning permissions in Jenkins. Limiting the Overall/Read permission to trusted users can help mitigate the risk of exploitation.

Conclusion

The Jenkins dbCharts Plugin has a vulnerability that allows attackers with Overall/Read permission to connect to a specified database using attacker-specified credentials. This can result in unauthorized access to sensitive data. Users should upgrade to a non-affected version of the plugin and review their permissions and access controls in the Jenkins environment. For further support on vulnerability remediation, contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability allows attackers with Overall/Read permission to connect to a specified database using their own credentials. This can result in unauthorized access to sensitive data stored in the database.

Users of Jenkins who have installed and are using versions 0.5.2 and earlier of the dbCharts Plugin are affected by this vulnerability.

Yes, users should upgrade to a version of the Jenkins dbCharts Plugin that is not affected by the issue. The vulnerability has been addressed in versions later than 0.5.2.

As a mitigation, it is recommended to review and adjust the permissions and access controls within the Jenkins environment to limit the Overall/Read permission to trusted users.

There is no evidence of active exploitation of this vulnerability at the time of this advisory. However, it is important to apply the recommended fixes and security measures to prevent potential exploitation.

Related vulnerabilities

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

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