PT-2022-18283 · Jenkins · Jenkins Dashboard View Plugin+1
Kevin Guerroudj
+1
·
Published
2022-03-15
·
Updated
2023-11-22
·
CVE-2022-27197
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Jenkins Dashboard View Plugin versions 2.18 and earlier
Description
The issue is related to a stored cross-site scripting (XSS) vulnerability. It occurs because the Jenkins Dashboard View Plugin does not perform URL validation for the Iframe Portlet's Iframe source URL, making it exploitable by attackers who can configure views.
Recommendations
For Jenkins Dashboard View Plugin versions 2.18 and earlier, update to version 2.18.1 or later, which performs URL validation for the Iframe Portlet's Iframe source URL and sets the sandbox attribute for the iframe to restrict the included page.
As a temporary workaround, consider using the Java system property
hudson.plugins.view.dashboard.core.IframePortlet.sandboxAttributeValue to customize the sandbox attribute value.
Alternatively, the Java system property hudson.plugins.view.dashboard.core.IframePortlet.doNotUseSandbox can be used to disable the sandbox completely, but this is not recommended as it may increase the risk of 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 Dashboard View Plugin