PT-2023-4805 · Xwiki+1 · Xwiki+1

Michael Hamann

·

Published

2023-04-12

·

Updated

2023-04-25

·

CVE-2023-29209

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions XWiki versions prior to 13.10.11 XWiki versions prior to 14.4.7 XWiki versions prior to 14.10
Description The issue allows any user with view rights on commonly accessible documents, including the legacy notification activity macro, to execute arbitrary Groovy, Python, or Velocity code in XWiki, leading to full access to the XWiki installation. The root cause is improper escaping of the macro parameters of the legacy notification activity macro. This macro is installed by default in XWiki. The vulnerability can be exploited via every wiki page that is editable, including the user's profile, but also with just view rights using the HTMLConverter that is part of the CKEditor integration which is bundled with XWiki.
Recommendations For versions prior to 13.10.11, update to version 13.10.11 or later. For versions prior to 14.4.7, update to version 14.4.7 or later. For versions prior to 14.10, update to version 14.10 or later. As a temporary workaround, consider replacing the code of the legacy notification activity macro with the patched version or deleting the document XWiki.Notifications.Code.Legacy.ActivityMacro if the macro isn't used.

Exploit

Fix

Code Injection

Eval Injection

Weakness Enumeration

Related Identifiers

BDU:2023-05268
CVE-2023-29209
GHSA-9PC2-X9QF-7J2Q

Affected Products

Ckeditor
Xwiki