PT-2018-5168 · Jenkins · Jenkins Active Choices Plugin+1
Daniel Beck
·
Published
2018-01-26
·
Updated
2022-05-14
·
CVE-2017-1000386
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 Active Choices plugin versions 1.5.3 and earlier
Description
The issue allows users with Job/Configure permission to insert arbitrary HTML, including JavaScript, into the 'Build With Parameters' page through the 'Active Choices Reactive Reference Parameter' type. To mitigate this, the Active Choices plugin now sanitizes the HTML if the script is executed in a sandbox. However, for unsandboxed scripts, which require administrator approval, it is the administrator's responsibility to manage potentially problematic script output.
Recommendations
For Jenkins Active Choices plugin versions 1.5.3 and earlier, ensure that all scripts are executed in a sandbox to enable HTML sanitization. As a temporary workaround, consider restricting the use of the 'Active Choices Reactive Reference Parameter' type until a more permanent solution is applied. Administrators should carefully review and approve unsandboxed scripts to prevent the execution of arbitrary JavaScript.
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 Active Choices Plugin