H2O affected by a deserialization vulnerability
A deserialization flaw in H2O-3 versions up to [redacted] lets an attacker read arbitrary system files and execute arbitrary code by bypassing regular expression checks on JDBC connection parameters using double URL encoding.
h2oai/h2o-3
Originally disclosed on huntr
A deserialization vulnerability exists in h2oai/h2o-3 versions <= 3.46.0.7, allowing attackers to read arbitrary system files and execute arbitrary code. The vulnerability arises from improper handling of JDBC connection parameters, which can be exploited by bypassing regular expression checks and using double URL encoding. This issue impacts all users of the affected versions.
From the GitHub Advisory Database (GHSA-5w3j-gwgh-4rfv, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the JDBC connection parameter validation used a regular expression that could be bypassed by double URL encoding, allowing malicious deserialization.
What the attacker needed
Access to JDBC connection parameters
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Deserialization is when a program turns stored data back into objects; if an attacker can control that data, they can make the program create harmful objects. Here, the program checked the database connection settings with a pattern-matching rule, but the attacker could sneak past it by encoding characters twice, leading to file theft and code execution.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.