Lucene search

K
osvGoogleOSV:GHSA-QVHF-3567-PC4V
HistoryMay 24, 2022 - 5:10 p.m.

Sandbox bypass vulnerability in Script Security Plugin

2022-05-2417:10:27
Google
osv.dev
11
script security plugin
sandbox bypass
arbitrary code execution
jenkins controller.

EPSS

0.001

Percentile

42.8%

Sandbox protection in Script Security Plugin 1.70 and earlier can be circumvented through:\n- Crafted constructor calls and bodies (due to an incomplete fix of SECURITY-582)

  • Crafted method calls on objects that implement GroovyInterceptable

This allows attackers able to specify and run sandboxed scripts to execute arbitrary code in the context of the Jenkins controller JVM.

Script Security Plugin 1.71 has additional restrictions and sanity checks to ensure that super constructors cannot be constructed without being intercepted by the sandbox. In addition, it also intercepts method calls on objects that implement GroovyInterceptable as calls to GroovyObject#invokeMethod(String, Object), which is on the list of dangerous signatures and should not be approved for use in the sandbox.

EPSS

0.001

Percentile

42.8%