Skip to main content
← All vulnerabilities
CVE-2022-45868GHSA-22WJ-VF5F-WRVJ

The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.220
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

The web-based admin console in H2 Database Engine before 2.2.220 can be started via the CLI with the argument -webAdminPassword, which allows the user to specify the password in cleartext for the web admin console. Consequently, a local user (or an attacker that has obtained local access through some means) would be able to discover the password by listing processes and their arguments. NOTE: the vendor states "This is not a vulnerability of H2 Console ... Passwords should never be passed on the command line and every qualified DBA or system administrator is expected to know that." Nonetheless, the issue was fixed in 2.2.220.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • com.h2database:h2Maven

    From 1.4.198 · fixed in 2.2.220

References 6

sites.google.com

GitHub · h2database/h2database

GitHub Advisory Database