CVE-2024-47879 OpenRefine's PreviewExpressionCommand, which is eval, lacks protection against cross-site request forgery (CSRF)
Attackers can execute arbitrary code via CSRF in OpenRefine's preview-expression command if a victim visits a malicious site.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-47879?
CVE-2024-47879 is a high-severity vulnerability in OpenRefine, published on 24 Oct 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, lack of cross-site request forgery protection on the `preview-expression` command means that visiting a malicious website could cause an attacker-controlled expression to be executed. The expression can contain arbitrary Clojure or Python code. The attacker must know a valid project ID of a project that contains at least one row, and the attacker must convince the victim to open a malicious webpage. Version 3.8.3 fixes the issue.
Which versions are affected by CVE-2024-47879?
2 open source packages ship an affected version, including org.openrefine:main. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.openrefine:main Maven | All versions | 3.8.3 |
org.openrefine:main Maven | All versions | 3.8.3 |
Products include Openrefine Openrefine.
How do I fix CVE-2024-47879?
Upgrade org.openrefine:main to 3.8.3 or later.
Is CVE-2024-47879 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47879 exists.
Other vulnerabilities in OpenRefine
- CVE-2023-41887 Remote Code exec in project import with mysql jdbc url attack
- CVE-2024-47878 Reflected cross-site scripting vulnerability (XSS) in GData extension (authorized.vt)
- CVE-2024-47880 OpenRefine has a reflected cross-site scripting vulnerability from POST request in ExportRowsCommand
- CVE-2024-47881 OpenRefine's SQLite integration allows filesystem access, remote code execution (RCE)
- CVE-2024-23833 OpenRefine JDBC Attack Vulnerability
Sources
Also known as DEBIAN-CVE-2024-47879, GHSA-3jm4-c6qf-jrh3, UBUNTU-CVE-2024-47879.