Apache Isis webconsole module may directly query the database in prototype mode
Moderate severity
GitHub Reviewed
Published
Oct 19, 2022
to the GitHub Advisory Database
•
Updated Aug 1, 2024
Package
Affected versions
< 2.0.0-M8
Patched versions
2.0.0-M8
Description
Published by the National Vulnerability Database
Oct 19, 2022
Published to the GitHub Advisory Database
Oct 19, 2022
Reviewed
Oct 19, 2022
Last updated
Aug 1, 2024
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 newisis.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, aswebAdminPass: xxx
(wherexxx
) 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.References