CVE-2023-43501: Jenkins Build Failure Analyzer Plugin Missing Permission Check

Summary

20/09/2023
Yes i
Moderate
4.3

CVE-2023-43501: Jenkins Build Failure Analyzer Plugin missing permission check. Affects com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer versions < 2.4.2. Fixed in 2.4.2. 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 Build Failure Analyzer Plugin is a Maven-based package that provides functionality for analyzing build failures in Jenkins. It helps identify the root cause of build failures by analyzing the console output and providing actionable insights. The plugin is widely used in Jenkins environments to improve build stability and efficiency. However, versions 2.4.1 and earlier of the plugin suffer from a vulnerability that allows attackers with Overall/Read permission to connect to a specified hostname and port using an attacker-specified username and password. This vulnerability also exposes a cross-site request forgery (CSRF) vulnerability due to the lack of POST request requirement.

Vulnerability Detail

The vulnerability in the Jenkins Build Failure Analyzer Plugin arises from the absence of a permission check in a connection test HTTP endpoint. This allows attackers with Overall/Read permission to connect to an attacker-specified hostname and port using an attacker-specified username and password. As a result, an attacker can potentially gain unauthorized access to sensitive information or perform malicious actions on the affected Jenkins instance. Additionally, the lack of POST request requirement in the HTTP endpoint exposes a CSRF vulnerability, enabling attackers to forge requests and perform actions on behalf of authenticated users.

How To Fix

Minimum fixed version

2.4.2

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 access to the affected HTTP endpoint by modifying the Jenkins configuration or implementing network-level controls. This can involve blocking access to the endpoint from unauthorized sources or limiting access to trusted networks only. However, applying the workaround is not a permanent solution, and upgrading to the fixed version is strongly advised.

Conclusion

The Jenkins Build Failure Analyzer Plugin versions 2.4.1 and earlier suffer from a vulnerability that allows attackers with Overall/Read permission to connect to a specified hostname and port using an attacker-specified username and password. This can lead to unauthorized access and potential malicious actions. Upgrading to version 2.4.2 or later of the plugin is recommended to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer →

Share this vulnerability

FAQ

The vulnerability allows attackers with Overall/Read permission to connect to a specified hostname and port using an attacker-specified username and password. This can lead to unauthorized access to sensitive information or malicious actions on the affected Jenkins instance.

Yes, the attacker needs to have Overall/Read permission and provide valid credentials to exploit this vulnerability.

There are no known instances of this vulnerability being exploited in the wild at this time.

Yes, this vulnerability can be exploited remotely if the attacker has Overall/Read permission and can connect to the affected HTTP endpoint.

Yes, the CVSS score for this vulnerability is 4.3 (Moderate).

Related vulnerabilities

Recent vulnerabilities recorded for com.sonyericsson.jenkins.plugins.bfa:build-failure-analyzer.

How To Fix

Minimum fixed version

2.4.2

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