Unauthenticated code execution via injected JDBC parameters
Published Sep 15, 2023 · Updated Sep 25, 2024
Remote code execution in OpenRefine 3.7.4 and earlier allows remote attackers to run arbitrary code through a crafted MySQL import. The MySQL connection manager directly concatenates the database name into a JDBC URL, allowing injected autoDeserialize and queryInterceptors parameters to activate Connector/J deserialization and a Commons BeanUtils gadget chain. The OpenRefine service must be network-reachable and connect to an attacker-controlled MySQL server; successful exploitation runs code with the server process's privileges.
Summary
What happened
Remote code execution in OpenRefine 3.7.4 and earlier allows remote attackers to run arbitrary code through a crafted MySQL import. The MySQL connection manager directly concatenates the database name into a JDBC URL, allowing injected autoDeserialize and queryInterceptors parameters to activate Connector/J deserialization and a Commons BeanUtils gadget chain. The OpenRefine service must be network-reachable and connect to an attacker-controlled MySQL server; successful exploitation runs code with the server process's privileges.
The record
- CVE
- CVE-2023-41887
- Published
- Sep 15, 2023
- Updated
- Sep 25, 2024
- Vendor
- OpenRefine
- Product
- OpenRefine
- Classifications
- CWE-89, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 15, 2023CVE publishedPublication date reported by the CVE source.
- Sep 25, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=<= 3.7.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- OpenRefine malicious MySQL server proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo