PT-2022-19383 · Jenkins · Jenkins Mask Passwords Plugin+1

Published

2022-04-12

·

Updated

2023-11-17

·

CVE-2022-29043

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Jenkins Mask Passwords Plugin versions 3.0 and earlier
Description The issue results in a stored cross-site scripting (XSS) vulnerability, which is exploitable by attackers with Item/Configure permission. This occurs because the plugin does not escape the name and description of Non-Stored Password parameters on views displaying parameters. Exploitation requires that parameters are listed on another page and that those pages are not hardened to prevent exploitation. It is noted that Jenkins (core) has prevented exploitation of vulnerabilities of this kind on certain pages since version 2.44 and LTS 2.32.2.
Recommendations For Jenkins Mask Passwords Plugin versions 3.0 and earlier, update to a version later than 3.0 to resolve the issue. As a temporary workaround, consider restricting access to views displaying parameters to minimize the risk of exploitation. Additionally, ensure that pages like the "Build With Parameters" and "Parameters" pages provided by Jenkins (core) are hardened to prevent exploitation, or update Jenkins (core) to version 2.44 or LTS 2.32.2 or later.

Fix

XSS

Weakness Enumeration

Related Identifiers

CVE-2022-29043
GHSA-PJM3-F4VH-3H3H

Affected Products

Jenkins
Jenkins Mask Passwords Plugin