PT-2022-22051 · Jenkins · Jenkins Agent Server Parameter Plugin+1
Published
2022-06-22
·
Updated
2023-11-03
·
CVE-2022-34183
CVSS v3.1
8.0
High
| Vector | AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Jenkins Agent Server Parameter Plugin versions 1.1 and earlier
Description
The issue results in a stored cross-site scripting (XSS) vulnerability, which can be exploited by attackers with Item/Configure permission. This occurs because the name and description of Agent Server parameters are not escaped 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 similar vulnerabilities on certain pages since version 2.44 and LTS 2.32.2.
Recommendations
For Jenkins Agent Server Parameter Plugin versions 1.1 and earlier, update to a version later than 1.1 to resolve the issue. As a temporary workaround, consider restricting access to views displaying parameters to minimize the risk of exploitation. Additionally, ensure that any pages listing parameters, such as the "Build With Parameters" and "Parameters" pages provided by Jenkins (core), are properly hardened to prevent exploitation.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Agent Server Parameter Plugin