H2O.ai H2O vulnerable to deserialization attacks via a JDBC Connection URL
Date: 2024-09
Affected: pip/h2o, maven/ai.h2o:h2o-core
Attack vector: deserialization
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2024-45758
CWE: CWE-502
CVSS: 9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)

H2O.ai H2O through 3.46.0.4 allows attackers to arbitrarily set the JDBC URL, leading to deserialization attacks, file reads, and command execution. Exploitation can occur when an attacker has access to post to the ImportSQLTable URI with a JSON document containing a connection_url property with any typical JDBC Connection URL attack payload such as one that uses queryInterceptors.


Mitigations:

Architectural layers (MAESTRO):