PT-2019-2297 · Jenkins · Jenkins Script Security Plugin+1
Oleg Nenashev
·
Published
2019-02-06
·
Updated
2023-10-25
·
CVE-2019-1003005
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Jenkins Script Security Plugin versions 1.50 and earlier
Description
The issue is related to errors in handling Groovy scripts, which can be exploited by a remote attacker to bypass the sandbox and execute arbitrary code on the Jenkins master JVM. This can be achieved by providing a Groovy script to an HTTP endpoint, allowing for arbitrary code execution. The attacker needs Overall/Read permission to exploit this issue.
Recommendations
For Jenkins Script Security Plugin versions 1.50 and earlier, update to a version later than 1.50 to resolve the issue.
As a temporary workaround, consider restricting access to the
SecureGroovyScript.java component to minimize the risk of exploitation.
Avoid using the HTTP endpoint that allows Groovy script execution until the issue is resolved.Exploit
Fix
Protection Mechanism Failure
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Jenkins
Jenkins Script Security Plugin