# CVE-2022-23221: H2 Console - RCE

> Live exploitation tracking for CVE-2022-23221 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2022-23221

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 9.8
- **Public exploit available:** Yes
- **Affected products:** H2 Console
- **Weaknesses:** CWE-88 (Improper Neutralization of Argument Delimiters in a Command ('Argument Injection'))
- **Tags:** management_panel, web_application

## 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.

## CrowdSec analysis

[CVE-2022-23221](https://euvd.enisa.europa.eu/vulnerability/CVE-2022-23221) is a critical remote code execution vulnerability in H2 Console versions before 2.1.210. Attackers can exploit a crafted JDBC URL to execute arbitrary code remotely, potentially compromising the system’s confidentiality, integrity, and availability.

CrowdSec has been tracking this vulnerability and its exploits since 24th of November 2026.

CrowdSec has not observed any significant exploitation activity targeting CVE-2022-23221 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.

Attackers target the H2 web console at `/h2-console/` and submit a crafted JDBC URL to `/h2-console/login.do`. The URL uses `INIT` to define a JavaScript trigger that executes operating-system commands.

## Timeline

- 2022-01-19: CVE Published. CVE-2022-23221 is published to NVD.
- 2026-11-24: Rule Released. CrowdSec releases a rule to detect CVE-2022-23221 exploitation attempts against the CrowdSec Network.

## References

- http://packetstormsecurity.com/files/165676/H2-Database-Console-Remote-Code-Execution.html
- https://github.com/h2database/h2database/security/advisories
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.debian.org/security/2022/dsa-5076
- https://twitter.com/d0nkey_man/status/1483824727936450564
- https://github.com/h2database/h2database/releases/tag/version-2.1.210
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://lists.debian.org/debian-lts-announce/2022/02/msg00017.html
- http://seclists.org/fulldisclosure/2022/Jan/39
- https://security.netapp.com/advisory/ntap-20230818-0011/
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-23221.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2022-23221) follows observed exploitation activity for CVE-2022-23221. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
