SB2023090735 - Multiple vulnerabilities in Jenkins Job Configuration History plugin



SB2023090735 - Multiple vulnerabilities in Jenkins Job Configuration History plugin

Published: September 7, 2023

Security Bulletin ID SB2023090735
Severity
Medium
Patch available
YES
Number of vulnerabilities 4
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 75% Low 25%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 4 secuirty vulnerabilities.


1) Path traversal (CVE-ID: CVE-2023-41930)

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to the affected plugin does not restrict a "name" query parameter when rendering a history entry. A remote user can cause Jenkins render a manipulated configuration history that was not created by the plugin.


2) XML External Entity injection (CVE-ID: CVE-2023-41933)

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied XML input. A remote user can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.


3) Path traversal (CVE-ID: CVE-2023-41932)

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to the affected plugin does not restrict "timestamp" query parameters in multiple endpoints. A remote user can send a specially crafted HTTP request and delete attacker-specified directories on the Jenkins controller file system.


4) Stored cross-site scripting (CVE-ID: CVE-2023-41931)

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to the affected plugin does not property sanitize or escape the timestamp value from history entries when rendering a history entry on the history view. A remote attacker can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Remediation

Install update from vendor's website.