CVE-2023-24441: XML External Entity Vulnerability in Jenkins MSTest Plugin

Summary

26/01/2023
Yes i
Critical
9.8

CVE-2023-24441: XML external entity vulnerability on agents in Jenkins MSTest Plugin. Affects org.jvnet.hudson.plugins:mstest versions < 1.0.1. Fixed in 1.0.1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Jenkins MSTest Plugin is a Maven package (org.jvnet.hudson.plugins:mstest) used in Jenkins for integrating MSTest-based tests into the Jenkins environment. It provides functionality to execute and report on MSTest tests within Jenkins. However, versions 1.0.0 and earlier of the plugin are vulnerable to XML external entity (XXE) attacks.

Vulnerability Detail

The vulnerability in the Jenkins MSTest Plugin arises from the lack of proper configuration of its XML parser, which allows for XML external entity (XXE) attacks. This means that an attacker can supply malicious XML input that can lead to various security issues, such as disclosure of internal files, denial of service, or server-side request forgery. The vulnerability has a moderate severity rating (CWE-776).

How To Fix

Minimum fixed version

1.0.1

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

There is no specific workaround mentioned for this vulnerability. The recommended approach is to upgrade to the fixed version of the Jenkins MSTest Plugin.

Conclusion

The XML external entity vulnerability in the Jenkins MSTest Plugin can be mitigated by upgrading to version 1.0.1 or later. It is crucial to promptly address this vulnerability to prevent potential security risks. For further support and assistance in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability allows attackers to exploit the XML parser in the Jenkins MSTest Plugin, potentially leading to disclosure of sensitive information, denial of service, or server-side request forgery.

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.

While there is no specific mention of a known exploit, the vulnerability allows for various attack vectors. It is important to patch the vulnerability as soon as possible to mitigate any potential risks.

If you cannot immediately upgrade to the fixed version, it is recommended to review and restrict the input to the XML parser, ensuring that untrusted XML input is not processed. Additionally, consider implementing network-level protections to block malicious requests.

You can find more information about this vulnerability, including its technical details and the fixed version, in the GitHub Advisory Database: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/01/GHSA-3ppr-72x5-x67q/GHSA-3ppr-72x5-x67q.json

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.0.1

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