← voltar
CVE-2022-42467

h2 webconsole (available only in prototype mode) should nevertheless be disabled by default.

CVSS 5.3 MEDIUMEPSS 1.2%CWE-1188
Em resumo

O console web H2 no modo protótipo do Apache Isis estava acessível por padrão, permitindo consultas diretas ao banco de dados sem autorização explícita. Agora exige configuração explícita e gera senhas aleatórias por padrão para evitar acesso não autorizado.

Detalhe técnico

No modo protótipo, o módulo console web H2 era ativado automaticamente sem consentimento explícito do desenvolvedor, apresentando vulnerabilidade de padrão inseguro (CWE-1188). Agora o acesso requer configuração explícita via 'isis.prototyping.h2-console.web-allow-remote-access' e usa credenciais administrativas aleatórias (exibidas nos logs) por padrão, mitigando ataques de consulta não autorizada ao banco de dados.

Resumo gerado e traduzido por IA a partir da descrição oficial.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Quer saber se a sua infraestrutura está exposta a isto?

Falar com a TrueHacking →