← volver
CVE-2023-37462

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui

CVSS 10 CRITICALEPSS 91.3%CWE-74CWE-95
En resumen

Una falla en el sistema de apariencia de XWiki permite a los atacantes inyectar y ejecutar código arbitrario mediante un nombre de página malicioso. Cualquier persona con acceso básico de visualización puede explotar esto para obtener control total sobre la wiki, incluyendo lectura y modificación de todo el contenido.

Detalle técnico

La neutralización inadecuada de directivas de código en el documento SkinsCode.XWikiSkinsSheet permite inyección de eval a través de nombres de página no sanitizados. Un usuario no autenticado o con pocos privilegios puede escalar a derechos de programación al desencadenar la evaluación dinámica de macros Groovy o Python maliciosos, logrando ejecución remota de código con acceso completo a la wiki.

Resumen generado y traducido por IA a partir de la descripción oficial.
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Productos afectados
xwiki · xwiki-platform

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →