Improper Input Validation Affecting com.ibeetl:beetl-core package, versions [,3.16.0.RELEASE)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.36% (74th percentile)

Do your applications use this vulnerable package?

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 applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-COMIBEETL-6613090
  • published14 Apr 2024
  • disclosed4 May 2023
  • credit@luelueking

Introduced: 4 May 2023

CVE-2023-30331  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade com.ibeetl:beetl-core to version 3.16.0.RELEASE or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation due to an issue in the render function which allows attackers to execute server-side template injection (SSTI) via a crafted payload.

PoC

${@Class.forName("javax.script.ScriptEngineManager").newInstance().getEngineByName("js").eval("s='open -a Calculator';java.lang.Runtime.getRuntime().exec(s);")}

References

CVSS Scores

version 3.1