CVE-2024-47880
OpenRefine Remote Code Execution via `export-rows` Command
Description
OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, the `export-rows` command can be used in such a way that it reflects part of the request verbatim, with a Content-Type header also taken from the request. An attacker could lead a user to a malicious page that submits a form POST that contains embedded JavaScript code. This code would then be included in the response, along with an attacker-controlled `Content-Type` header, and so potentially executed in the victim's browser as if it was part of OpenRefine. The attacker-provided code can do anything the user can do, including deleting projects, retrieving database passwords, or executing arbitrary Jython or Closure expressions, if those extensions are also present. The attacker must know a valid project ID of a project that contains at least one row. Version 3.8.3 fixes the issue.
INFO
Published Date :
Oct. 24, 2024, 9:15 p.m.
Last Modified :
Oct. 30, 2024, 5:42 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-47880
.
URL | Resource |
---|---|
https://github.com/OpenRefine/OpenRefine/commit/8060477fa53842ebabf43b63e039745932fa629d | Patch |
https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-79jv-5226-783f | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-47880
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-47880
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Oct. 30, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N Changed Reference Type https://github.com/OpenRefine/OpenRefine/commit/8060477fa53842ebabf43b63e039745932fa629d No Types Assigned https://github.com/OpenRefine/OpenRefine/commit/8060477fa53842ebabf43b63e039745932fa629d Patch Changed Reference Type https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-79jv-5226-783f No Types Assigned https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-79jv-5226-783f Exploit, Third Party Advisory Added CWE NIST CWE-79 Added CPE Configuration OR *cpe:2.3:a:openrefine:openrefine:*:*:*:*:*:*:*:* versions up to (excluding) 3.8.3 -
CVE Received by [email protected]
Oct. 24, 2024
Action Type Old Value New Value Added Description OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, the `export-rows` command can be used in such a way that it reflects part of the request verbatim, with a Content-Type header also taken from the request. An attacker could lead a user to a malicious page that submits a form POST that contains embedded JavaScript code. This code would then be included in the response, along with an attacker-controlled `Content-Type` header, and so potentially executed in the victim's browser as if it was part of OpenRefine. The attacker-provided code can do anything the user can do, including deleting projects, retrieving database passwords, or executing arbitrary Jython or Closure expressions, if those extensions are also present. The attacker must know a valid project ID of a project that contains at least one row. Version 3.8.3 fixes the issue. Added Reference GitHub, Inc. https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-79jv-5226-783f [No types assigned] Added Reference GitHub, Inc. https://github.com/OpenRefine/OpenRefine/commit/8060477fa53842ebabf43b63e039745932fa629d [No types assigned] Added CWE GitHub, Inc. CWE-79 Added CWE GitHub, Inc. CWE-348 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-47880
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-47880
weaknesses.