PT-2023-31282 · Jenkins · Jenkins Matlab Plugin+1

Andrea Chiera

·

Published

2023-11-29

·

Updated

2023-12-05

·

CVE-2023-49656

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Jenkins MATLAB Plugin versions 2.11.0 and earlier
Description The issue concerns the Jenkins MATLAB Plugin, which does not configure its XML parser to prevent XML external entity (XXE) attacks. This allows attackers who can create files on the Jenkins controller file system to have Jenkins parse a crafted XML document, potentially leading to the extraction of secrets from the Jenkins controller or server-side request forgery. The plugin also fails to perform permission checks in several HTTP endpoints and does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.
Recommendations For Jenkins MATLAB Plugin versions 2.11.0 and earlier, update to version 2.11.1 or later, which configures its XML parser to prevent XML external entity (XXE) attacks and requires POST requests and Item/Configure permission for the affected HTTP endpoints. As a temporary workaround, consider restricting access to the affected HTTP endpoints to minimize the risk of exploitation.

Fix

XXE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-49656
GHSA-82Q9-88M2-4V68

Affected Products

Jenkins
Jenkins Matlab Plugin