Description
A sandbox bypass vulnerability exists in Script Security Plugin 1.49 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/GroovySandbox.java that allows attackers with the ability to provide sandboxed scripts to execute arbitrary code on the Jenkins master JVM.
Remediation
References
http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html
http://www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming
https://access.redhat.com/errata/RHBA-2019:0326
https://access.redhat.com/errata/RHBA-2019:0327
https://jenkins.io/security/advisory/2019-01-08/#SECURITY-1266
https://www.exploit-db.com/exploits/46453/
https://www.exploit-db.com/exploits/46572/
Related Vulnerabilities
CVE-2023-28155 Vulnerability in npm package request
CVE-2019-1010266 Vulnerability in maven package org.webjars.bower:lodash
CVE-2017-16226 Vulnerability in npm package static-eval
CVE-2020-7691 Vulnerability in maven package org.webjars.npm:jspdf
CVE-2016-10531 Vulnerability in maven package org.webjars.bower:marked