CVE Vulnerabilities

CVE-2022-42467

Insecure Default Initialization of Resource

Published: Oct 19, 2022 | Modified: Feb 15, 2024
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product initializes or sets a resource with a default that is intended to be changed by the administrator, but the default is not secure.

Affected Software

Name Vendor Start Version End Version
Isis Apache * 2.0.0 (excluding)
Isis Apache 2.0.0-milestone1 (including) 2.0.0-milestone1 (including)
Isis Apache 2.0.0-milestone2 (including) 2.0.0-milestone2 (including)
Isis Apache 2.0.0-milestone3 (including) 2.0.0-milestone3 (including)
Isis Apache 2.0.0-milestone4 (including) 2.0.0-milestone4 (including)
Isis Apache 2.0.0-milestone5 (including) 2.0.0-milestone5 (including)
Isis Apache 2.0.0-milestone6 (including) 2.0.0-milestone6 (including)
Isis Apache 2.0.0-milestone7 (including) 2.0.0-milestone7 (including)

Extended Description

Developers often choose default values that leave the product as open and easy to use as possible out-of-the-box, under the assumption that the administrator can (or should) change the default value. However, this ease-of-use comes at a cost when the default is insecure and the administrator does not change it.

References