Skip to content
OpenAdvisories
Critical · 10.0 CVE-2023-37909 EUVD-2023-2811GHSA-v2rr-xw95-wcjx

Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet

Published Oct 25, 2023 · Updated Sep 17, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform >= 5.1-rc-1, < 14.10.8, >= 15.0-rc-1, < 15.3-rc-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-menu >= 5.1-rc-1, < 14.10.8 14.10.8 GHSA-v2rr-xw95-wcjx
Maven org.xwiki.platform:xwiki-platform-menu-ui >= 5.1-rc-1, < 14.10.8 14.10.8 GHSA-v2rr-xw95-wcjx
Maven org.xwiki.platform:xwiki-platform-menu-ui >= 15.0-rc-1, < 15.3-rc-1 15.3-rc-1 GHSA-v2rr-xw95-wcjx

References