CVE-2022-42467
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.
Weakness
- CWE-1188: Initialization of a Resource with an Insecure Default
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2024-07-22 |
Timeline
- 2022-10-19Published by the CNA00:00 UTC
- 2022-10-19GitHub advisory published (GHSA-998r-j9rx-qm8m)same day
- 2024-07-22CISA SSVC decision recorded642 days after publication
Exploit and advisory records
GitHub advisory GHSA-998r-j9rx-qm8m, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.apache.isis.core:isis-core | before 2.0.0-M8 | 2.0.0-M8 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| apache isis | before 2.0.0fixed in 2.0.02.0.0no fix listed | 2.0.0not listed |
References
- https://lists.apache.org/thread/jbv2ddt00h7ntlbm6vkk4wdmb31pm8q3
- http://www.openwall.com/lists/oss-security/2022/10/19/1
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-42467'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-42467'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-42467'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-42467'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).