Skip to content

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

MediumCVSS 5.3 EPSS 1.7%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
Apache Isis >= Apache Isis, < 2.0.0-M8 2.0.0-M8 Fixed
apache isis < 2.0.0; = 2.0.0-milestone1; = 2.0.0-milestone2; = 2.0.0-milestone3 +4 more 2.0.0 Fixed
org.apache.isis.core/isis-core(Maven) < 2.0.0-M8; = 2.0.0-M4; = 2.0.0-M5; = 2.0.0-M6 +1 more 2.0.0-M8 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.isis.core/isis-core(Maven) < 2.0.0-M8 2.0.0-M8
org.apache.isis.core/isis-core(Maven) = 2.0.0-M4 No fix listed
org.apache.isis.core/isis-core(Maven) = 2.0.0-M5 No fix listed
org.apache.isis.core/isis-core(Maven) = 2.0.0-M6 No fix listed
org.apache.isis.core/isis-core(Maven) = 2.0.0-M7 No fix listed
Apache Isis >= Apache Isis, < 2.0.0-M8 2.0.0-M8
apache isis < 2.0.0 2.0.0
apache isis = 2.0.0-milestone1 No fix listed
apache isis = 2.0.0-milestone2 No fix listed
apache isis = 2.0.0-milestone3 No fix listed
apache isis = 2.0.0-milestone4 No fix listed
apache isis = 2.0.0-milestone5 No fix listed
apache isis = 2.0.0-milestone6 No fix listed
apache isis = 2.0.0-milestone7 No fix listed

References