Skip to content

CVE-2023-37909 Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet

HighCVSS 8.8 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Starting in version 5.1-rc-1 and prior to versions 14.10.8 and 15.3-rc-1, any user who can edit their own user profile can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This has been patched in XWiki 14.10.8 and 15.3-rc-1 by adding proper escaping. As a workaround, the patch can be manually applied to the document Menu.UIExtensionSheet; only three lines need to be changed.

Upgrade path

4 packages: 3 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-menu(Maven) >= 5.1-rc-1, < 14.10.8 14.10.8 Fixed
org.xwiki.platform/xwiki-platform-menu-ui(Maven) >= 5.1-rc-1, < 14.10.8; >= 15.0-rc-1, < 15.3-rc-1 14.10.8, 15.3-rc-1 Fixed
xwiki >= 5.1, < 14.10.8 14.10.8 Fixed
xwiki-platform = >= 5.1-rc-1, < 14.10.8; = >= 15.0-rc-1, < 15.3-rc-1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-menu(Maven) >= 5.1-rc-1, < 14.10.8 14.10.8
org.xwiki.platform/xwiki-platform-menu-ui(Maven) >= 5.1-rc-1, < 14.10.8 14.10.8
org.xwiki.platform/xwiki-platform-menu-ui(Maven) >= 15.0-rc-1, < 15.3-rc-1 15.3-rc-1
xwiki-platform = >= 5.1-rc-1, < 14.10.8 No fix listed
xwiki-platform = >= 15.0-rc-1, < 15.3-rc-1 No fix listed
xwiki >= 5.1, < 14.10.8 14.10.8

References