← volver
CVE-2023-22457

org.xwiki.contrib:application-ckeditor-ui vulnerable to Remote Code Execution via Cross-Site Request Forgery

CVSS 9.1 CRITICALEPSS 18.7%CWE-352
En resumen

La integración de CKEditor en XWiki carece de protección contra CSRF, permitiendo que un atacante engañe a un usuario privilegiado para ejecutar macros maliciosas que ejecuten código arbitrario. Esto podría permitir al atacante controlar el wiki, robar datos sensibles o deshabilitarlo.

Detalle técnico

El documento CKEditor.HTMLConverter no valida tokens CSRF en las solicitudes de ejecución de macros. Un atacante puede construir una solicitud GET maliciosa (a través de URL de imagen incrustada o redirección) que ejecuta macros con los privilegios de un usuario autenticado con derechos de programación, resultando en ejecución remota de código y escalada de privilegios.

Resumen generado y traducido por IA a partir de la descripción oficial.
CKEditor Integration UI adds support for editing wiki pages using CKEditor. Prior to versions 1.64.3,t he `CKEditor.HTMLConverter` document lacked a protection against Cross-Site Request Forgery (CSRF), allowing to execute macros with the rights of the current user. If a privileged user with programming rights was tricked into executing a GET request to this document with certain parameters (e.g., via an image with a corresponding URL embedded in a comment or via a redirect), this would allow arbitrary remote code execution and the attacker could gain rights, access private information or impact the availability of the wiki. The issue has been patched in the CKEditor Integration version 1.64.3. This has also been patched in the version of the CKEditor integration that is bundled starting with XWiki 14.6 RC1. There are no known workarounds for this other than upgrading the CKEditor integration to a fixed version.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

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

Hablar con TrueHacking →