CVE-2024-47882 OpenRefine's error page lacks escaping, leading to potential Cross-site Scripting on import of malicious project
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
OpenRefine is a free, open source tool for working with messy data. Prior to version 3.8.3, the built-in "Something went wrong!" error page includes the exception message and exception traceback without escaping HTML tags, enabling injection into the page if an attacker can reliably produce an error with an attacker-influenced message. It appears that the only way to reach this code in OpenRefine itself is for an attacker to somehow convince a victim to import a malicious file, which may be difficult. However, out-of-tree extensions may add their own calls to respondWithErrorPage. Version 3.8.3 has a fix for this issue.
Upgrade path
6 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/openrefine(Debian 12) | < 3.6.2-2+deb12u3; = 3.6.2-2; = 3.6.2-2+deb12u1; = 3.6.2-2+deb12u2 | 3.6.2-2+deb12u3 | Fixed |
| debian/openrefine(Debian 13) | < 3.8.7-1 | 3.8.7-1 | Fixed |
| OpenRefine | < 3.8.3; = < 3.8.3 | 3.8.3 | Fixed |
| org.openrefine/openrefine(Maven) | < 3.8.3; = 3.6-beta1; = 3.6-beta2; = 3.6-rc1 +12 more | 3.8.3 | Fixed |
| ubuntu/openrefine(Ubuntu 22.04) | < 3.5.2-1ubuntu0.1~esm1 | 3.5.2-1ubuntu0.1~esm1 | Fixed |
| ubuntu/openrefine(Ubuntu 24.04) | < 3.7.7-1ubuntu0.1~esm1 | 3.7.7-1ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.openrefine/openrefine(Maven) | < 3.8.3 | 3.8.3 |
| org.openrefine/openrefine(Maven) | = 3.6-beta1 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.6-beta2 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.6-rc1 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.6.0 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.6.1 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.6.2 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.7-beta1 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.7-beta2 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.7.0 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.7.2 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.8-beta1 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.8-beta5 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.8.0 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.8.1 | No fix listed |
| org.openrefine/openrefine(Maven) | = 3.8.2 | No fix listed |
| debian/openrefine(Debian:12) | < 3.6.2-2+deb12u3 | 3.6.2-2+deb12u3 |
| debian/openrefine(Debian:12) | = 3.6.2-2 | No fix listed |
| debian/openrefine(Debian:12) | = 3.6.2-2+deb12u1 | No fix listed |
| debian/openrefine(Debian:12) | = 3.6.2-2+deb12u2 | No fix listed |
| debian/openrefine(Debian:13) | < 3.8.7-1 | 3.8.7-1 |
| ubuntu/openrefine(Ubuntu:22.04) | < 3.5.2-1ubuntu0.1~esm1 | 3.5.2-1ubuntu0.1~esm1 |
| OpenRefine | = < 3.8.3 | No fix listed |
| OpenRefine | < 3.8.3 | 3.8.3 |
| ubuntu/openrefine(Ubuntu:24.04) | < 3.7.7-1ubuntu0.1~esm1 | 3.7.7-1ubuntu0.1~esm1 |
References
- https://github.com/OpenRefine/OpenRefine/security/advisories/GHSA-j8hp-f2mj-586g exploit third-party-advisory vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/OpenRefine/OpenRefine/commit/85594e75e7b36025f7b6a67dcd3ec253c5dff8c2 patch
- github.com product
- https://github.com/OpenRefine/OpenRefine/blob/master/main/webapp/modules/core/error.vt#L52-L53 product
- github.com
- Debian Security Tracker CVE-2024-47882 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7260-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking