Miggo Logo

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

7.5

CVSS Score
3.1

Basic Information

EPSS Score
0.81871%
Published
9/12/2023
Updated
11/11/2023
KEV Status
No
Technology
TechnologyJava

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
org.openrefine:databasemaven<= 3.7.43.7.5

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from unsafe concatenation of user-controlled parameters (like databaseName) into JDBC URLs across multiple database connection managers. The MySQLConnectionManager's getDatabaseUrl method is explicitly highlighted in the vulnerability details as allowing parameter injection via the databaseName field. The commit diff shows these methods were replaced with a URI builder that properly escapes parameters, confirming their role in the vulnerability. While the exploit was demonstrated in MySQL, similar methods in other database managers follow the same vulnerable pattern.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Summ*ry *n *r*itr*ry *il* r*** vuln*r**ility *llows *ny un*ut**nti**t** us*r to r*** t** *il* on t** s*rv*r._ ### **t*ils *i,T**m, i *in* op*nr**in* support to import **t* *rom **t***s*,W**n us* mysql j*** to *onn**t to **t***s*,It is vuln*r**l*

Reasoning

T** vuln*r**ility st*ms *rom uns*** *on**t*n*tion o* us*r-*ontroll** p*r*m*t*rs (lik* **t***s*N*m*) into J*** URLs **ross multipl* **t***s* *onn**tion m*n***rs. T** `MySQL*onn**tionM*n***r`'s `**t**t***s*Url` m*t*o* is *xpli*itly *i**li**t** in t** v