Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-menu Maven |
|
|
| org.xwiki.platform:xwiki-platform-menu-ui Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-menu Maven |
|
|
| org.xwiki.platform:xwiki-platform-menu-ui Maven |
|
|
15.3-rc-1XWiki 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.
From the CVE record · GitHub_M
The XWiki Platform menu component lets a user who can edit their own profile execute arbitrary script macros, including Groovy and Python. This can lead to remote code execution and unrestricted read and write access to all wiki contents; the attacker must be able to edit their profile.
Check deployments using Maven org.xwiki.platform:xwiki-platform-menu versions >=5.1-rc-1 and <14.10.8, or org.xwiki.platform:xwiki-platform-menu-ui versions >=5.1-rc-1 and <14.10.8 or >=15.0-rc-1 and <15.3-rc-1.