Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.platform:xwiki-platform-menuMaven | >= 5.1-rc-1, < 14.10.8 | 14.10.8 |
org.xwiki.platform:xwiki-platform-menu-uiMaven | >= 5.1-rc-1, < 14.10.8 | 14.10.8 |
org.xwiki.platform:xwiki-platform-menu-uiMaven | >= 15.0-rc-1, < 15.3-rc-1 | 15.3-rc-1 |
Affected products
3- ghsa-coords2 versions
>= 5.1-rc-1, < 14.10.8+ 1 more
- (no CPE)range: >= 5.1-rc-1, < 14.10.8
- (no CPE)range: >= 5.1-rc-1, < 14.10.8
- Range: >= 5.1-rc-1, < 14.10.8
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-v2rr-xw95-wcjxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-37909ghsaADVISORY
- github.com/xwiki/xwiki-platform/commit/9e8f080094333dec63a8583229a3799208d773beghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-v2rr-xw95-wcjxghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XWIKI-20746ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.