GHSA-998r-j9rx-qm8m

Suggest an improvement
Source
https://github.com/advisories/GHSA-998r-j9rx-qm8m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-998r-j9rx-qm8m/GHSA-998r-j9rx-qm8m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-998r-j9rx-qm8m
Aliases
Published
2022-10-19T12:00:18Z
Modified
2024-08-01T22:00:47.040438Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Apache Isis webconsole module may directly query the database in prototype mode
Details

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.

Database specific
{
    "nvd_published_at": "2022-10-19T08:15:00Z",
    "cwe_ids": [
        "CWE-1188"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-10-19T18:48:29Z"
}
References

Affected packages

Maven / org.apache.isis.core:isis-core

Package

Name
org.apache.isis.core:isis-core
View open source insights on deps.dev
Purl
pkg:maven/org.apache.isis.core/isis-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0-M8

Affected versions

2.*

2.0.0-M4
2.0.0-M5
2.0.0-M6
2.0.0-M7