← voltar
CVE-2025-32969

org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API

CVSS 9.3 CRITICALEPSS 79.5%CWE-89
Em resumo

A API REST do XWiki permite que usuários não autenticados injetem comandos SQL maliciosos na consulta de banco de dados, contornando a proteção HQL. Isso pode expor dados sensíveis como senhas ou permitir modificação e exclusão de registros.

Detalhe técnico

Um atacante remoto não autenticado consegue escapar do contexto de execução HQL através do endpoint de consulta da API REST para realizar injeção SQL cega (CWE-89) no banco de dados backend. A vulnerabilidade ignora controles de acesso mesmo quando visualização/edição anônima está desabilitada, permitindo extração de informações confidenciais ou execução de comandos UPDATE/INSERT/DELETE arbitrários.

Resumo gerado e traduzido por IA a partir da descrição oficial.
XWiki is a generic wiki platform. In versions starting from 1.8 and prior to 15.10.16, 16.4.6, and 16.10.1, it is possible for a remote unauthenticated user to escape from the HQL execution context and perform a blind SQL injection to execute arbitrary SQL statements on the database backend, including when "Prevent unregistered users from viewing pages, regardless of the page rights" and "Prevent unregistered users from editing pages, regardless of the page rights" options are enabled. Depending on the used database backend, the attacker may be able to not only obtain confidential information such as password hashes from the database, but also execute UPDATE/INSERT/DELETE queries. This issue has been patched in versions 16.10.1, 16.4.6 and 15.10.16. There is no known workaround, other than upgrading XWiki.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Produtos afetados
xwiki · xwiki-platform

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

Falar com a TrueHacking →