cbcvebase.
CVE-2019-1003005
published 2019-02-06

CVE-2019-1003005: A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.50 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/Se…

PriorityP273high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EXPLOIT
EPSS
19.54%
97.4th percentile
A sandbox bypass vulnerability exists in Jenkins Script Security Plugin 1.50 and earlier in src/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java that allows attackers with Overall/Read permission to provide a Groovy script to an HTTP endpoint that can result in arbitrary code execution on the Jenkins master JVM.

Affected

19 ranges
VendorProductVersion rangeFixed in
jenkinsactive_directory_plugin——
jenkinsblue_ocean_plugin——
jenkinsconfig_file_provider_plugin——
jenkinsfrom_job_import_plugin——
jenkinsgit_plugin——
jenkinsgithub_authentication_plugin——
jenkinsgroovy_plugin——
jenkinsjenkins_startup_or_after_monitoring_plugin——
jenkinsjob_import_plugin——
jenkinskanboard_plugin——
jenkinsmonitoring_plugin——
jenkinsopenid_connect_authentication_plugin——
jenkinsscript_security<= 1.50—
jenkinsscript_security_plugin——
jenkinstoken_macro_plugin——
jenkinswarnings_next_generation_plugin——
jenkinswarnings_plugin——
jenkinsxml_parser_used_in_job_import_plugin——
jenkins_projectjenkins_script_security_plugin——

Detection & IOCsextracted from sources · hover to see the quote

pathsrc/main/java/org/jenkinsci/plugins/scriptsecurity/sandbox/groovy/SecureGroovyScript.java↗
urlhttps://github.com/jenkinsci/script-security-plugin/commit/35119273101af26792457ec177f34f6f4fa49d99↗
  • →Monitor HTTP endpoints in Jenkins that accept user-submitted Groovy scripts for the presence of AST transforming annotations such as @Grab in submitted source code, which is the exploitation vector for sandbox bypass during the script compilation phase. ↗
  • →Alert on requests to the Jenkins HTTP endpoint used to validate user-submitted Groovy scripts (script validation endpoint) originating from users with only Overall/Read permission, particularly when the submitted payload contains AST transformation annotations. ↗
  • →This CVE is an incomplete fix for CVE-2019-1003000 (SECURITY-1266); detections for @Grab and similar AST-transforming annotations in Groovy script submissions should cover both CVEs. ↗
  • ·The vulnerability affects Jenkins Script Security Plugin version 1.50 and earlier only; instances running a patched version (post-1.50) that applies a safe Groovy compiler configuration prohibiting unsafe AST transforming annotations are not affected. ↗
  • ·Red Hat OpenShift Container Platform versions 3.2 through 3.10 are listed as 'Will not fix', meaning patched container images may not be available for those versions; detection and mitigation remain the primary controls. ↗

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
vendor_redhat8.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.