CVE-2023-41886 OpenRefine vulnerable to arbitrary file read in project import with mysql jdbc url attack

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary server files via a malicious MySQL JDBC URL during project import in OpenRefine.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-41886?

CVE-2023-41886 is a high-severity SQL injection vulnerability in OpenRefine, published on 15 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

OpenRefine is a powerful free, open source tool for working with messy data. Prior to version 3.7.5, an arbitrary file read vulnerability allows any unauthenticated user to read a file on a server. Version 3.7.5 fixes this issue.

Weakness: CWE-89

Which versions are affected by CVE-2023-41886?

2 open source packages ship an affected version, including org.openrefine:database. It affects 1 product.

PackageAffectedFixed in
org.openrefine:database MavenAll versions3.7.5
org.openrefine:database MavenAll versions3.7.5

Products include Openrefine Openrefine.

How do I fix CVE-2023-41886?

Upgrade org.openrefine:database to 3.7.5 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-41886 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-41886 exists.

Sources

Also known as DEBIAN-CVE-2023-41886, GHSA-qqh2-wvmv-h72m, UBUNTU-CVE-2023-41886.

Is CVE-2023-41886 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free