Vulnerability identifier: #VU17913
Vulnerability risk: Medium
CVSSv4.0: 9.4 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:A/U:Green]
CVE-ID:
CWE-ID:
CWE-264
Exploitation vector: Network
Exploit availability: Yes
Vulnerable software:
Pipeline: Groovy
Web applications /
Modules and components for CMS
Vendor: Jenkins
Description
The vulnerability allows a remote attacker to execute arbitrary code on the vulnerable server.
The vulnerability exists in "pom.xml" and "src/mai/java/org/jenkinsci/plugins/workflow/cps/CpsGroovyShell.java" due to an error when parsing, compiling or instantiating a Groovy script. A remote attacker with the ability to control the contents of a pipeline can supply a specially crafted Groovy script, bypass the sandbox protection and execute arbitrary code on the Jenkins master.
Successful exploitation of the vulnerability may allow an attacker to compromise the affected server.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Pipeline: Groovy: 2.0 - 2.63
External links
https://jenkins.io/security/advisory/2019-03-06/#SECURITY-1336%20(2)
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.
Is there known malware, which exploits this vulnerability?
Yes. This vulnerability is being exploited in the wild.