PT-2023-8223 · Xwiki · Xwiki Platform

Michael Hamann

·

Published

2023-12-15

·

Updated

2023-12-19

·

CVE-2023-50721

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions XWiki Platform versions 4.5-rc-1 through 14.10.14 XWiki Platform versions 14.10.15 through 15.5.1 XWiki Platform versions 15.5.2 through 15.7-rc-1
Description The search administration interface doesn't properly escape the id and label of search user interface extensions, allowing the injection of XWiki syntax containing script macros including Groovy macros that allow remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki instance. This attack can be executed by any user who can edit some wiki page like the user's profile (editable by default) as user interface extensions that will be displayed in the search administration can be added on any document by any user.
Recommendations For XWiki Platform versions 4.5-rc-1 through 14.10.14, update to version 14.10.15 or later. For XWiki Platform versions 14.10.15 through 15.5.1, update to version 15.5.2 or later. For XWiki Platform versions 15.5.2 through 15.7-rc-1, update to version 15.7-rc-1 or later. As a temporary workaround, the patch can be manually applied to the page XWiki.SearchAdmin.

Exploit

Fix

RCE

Code Injection

Eval Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-00229
CVE-2023-50721
GHSA-7654-VFH6-RW6X

Affected Products

Xwiki Platform