RULE(RULE ID:336226)

Rule General Information
Release Date: 2022-02-22
Rule Name: H2Console JDBC URL Arbitrary Code Execution Vulnerability (CVE-2022-23221)
Severity:
CVE ID:
Rule Protection Details
Description: H2 Console before 2.1.210 allows remote attackers to execute arbitrary code via a jdbc:h2:mem JDBC URL containing the IGNORE_UNKNOWN_SETTINGS=TRUE;FORBID_CREATION=FALSE;INIT=RUNSCRIPT substring, a different vulnerability than CVE-2021-42392.
Impact: An attacker can execute arbitrary code via a successful exploit in the context of the vulnerable software.
Affected OS: Windows, Others
Reference: http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
http://seclists.org/fulldisclosure/2022/Jan/39
https://github.com/h2database/h2database/releases/tag/version-2.1.210
https://github.com/h2database/h2database/security/advisories
Solutions
The vendors have released upgrade patches to fix vulnerabilities, please visit:
https://github.com/h2database/h2database/releases/tag/version-2.1.210