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
https://jenkins.io/security/advisory/2019-01-08/#SECURITY-1266
https://www.exploit-db.com/exploits/46453/
https://access.redhat.com/errata/RHBA-2019:0326
https://www.exploit-db.com/exploits/46572/
http://www.rapid7.com/db/modules/exploit/multi/http/jenkins_metaprogramming
http://packetstormsecurity.com/files/152132/Jenkins-ACL-Bypass-Metaprogramming-Remote-Code-Execution.html
https://access.redhat.com/errata/RHBA-2019:0327
Related Vulnerabilities
CVE-2021-32809 Vulnerability in maven package org.webjars.bowergithub.ckeditor:ckeditor4
CVE-2016-4055 Vulnerability in maven package org.fujion.webjars:moment
CVE-2022-35513 Vulnerability in npm package blink1control2
CVE-2018-1000110 Vulnerability in maven package org.jenkins-ci.plugins:git
CVE-2023-24440 Vulnerability in maven package org.jenkins-ci.plugins:jira-steps