
=====================================================================

                                   CERT-Renater

                        Note d'Information No. 2022/VULN395

_____________________________________________________________________

DATE                : 21/10/2022

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Apache Isis versions prior to
                                      2.0.0-M9.

=====================================================================
https://lists.apache.org/thread/83ftj5jgtv3mbm28w3trjyvd591jztrz
https://lists.apache.org/thread/jbv2ddt00h7ntlbm6vkk4wdmb31pm8q3
_____________________________________________________________________

CVE-2022-42466: Apache Isis: XSS vulnerability, eg for String
properties.
Severity: important

Description:

Prior to 2.0.0-M9, it was possible for an end-user to set the value
of an editable string property of a domain object to a value that
would be rendered unchanged when the value was saved. In particular,
the end-user could enter javascript or similar and this would be
executed.

As of this release, the inputted strings are properly escaped when
rendered.


Credit:

Apache Isis would like to thank Qing Xu for reporting this issue

_____________________________________________________________________

ISIS-3128: CVE-2022-42467: Apache Isis: h2 webconsole (available
only in prototype mode) should nevertheless be disabled by default.
Severity: low

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.

=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================


