PT-2019-11306 · Jenkins · Jenkins Warnings Next Generation Plugin+1
Published
2019-02-06
·
Updated
2023-10-25
·
CVE-2019-1003008
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Jenkins Warnings Next Generation Plugin versions 2.1.1 and earlier
Description:
A cross-site request forgery issue exists that allows attackers to execute arbitrary code via a form validation HTTP endpoint. The endpoint, used to validate a Groovy script through compilation, was not subject to sandbox protection and did not require POST requests, making it vulnerable to cross-site request forgery. This allowed attackers to execute arbitrary code on the Jenkins controller by applying AST transforming annotations such as
@Grab to source code elements.Recommendations:
For Jenkins Warnings Next Generation Plugin versions 2.1.1 and earlier, update the plugin to a version that applies a safe Groovy compiler configuration, preventing the use of unsafe AST transforming annotations, and requires form validation requests to be sent via POST to prevent cross-site request forgery.
Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Warnings Next Generation Plugin