XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki is vulnerable to a remote code execution (RCE) attack through its user registration feature. This issue allows an attacker to execute arbitrary code by crafting malicious payloads in the "first name" or "last name" fields during user registration. This impacts all installations that have user registration enabled for guests. This vulnerability has been patched in XWiki 14.10.17, 15.5.3 and 15.8 RC1.
The vulnerability results from improper input handling (CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code, CWE-94: Improper Control of Code Generation). An attacker places a malicious payload in the 'first name' or 'last name' fields during new user account registration. The platform processes this data in a way that allows embedded code interpretation, leading to its execution in the server context. No privileges or user interaction are required to carry out the attack.
An attacker can execute arbitrary code on the server hosting XWiki, potentially leading to complete system compromise, data theft, wiki content modification, and lateral movement within the internal network.
XWiki Platform should be updated to version 14.10.17, 15.5.3, or 15.8 RC1 (or newer). If immediate updating is not possible, the user registration feature for guests should be temporarily disabled until the patch is applied.
All XWiki Platform installations with user registration enabled for guests, running versions prior to 14.10.17, 15.5.3, and 15.8 RC1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HXwiki
APPXwiki< 14.10.1715.0 – 15.5.3 (bez)15.6 – 15.7
Related vulnerabilities
XWiki Platform — niezautoryzowany RCE przez endpoint SolrSearch
XWiki Platform — path traversal umożliwia odczyt plików konfiguracyjnych
XWiki Platform: ujawnienie plików konfiguracyjnych przez webjars API (path traversal)
SQL Injection w XWiki Platform via parametr sort w getdeleteddocuments.vm
XWiki Rendering: bypass trybu restricted przez zagnieżdżone makra