CVE-2023-37909
published 2023-10-25CVE-2023-37909: 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…
PriorityP262high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.62%
73.1th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | >= 5.1 < 14.10.8 | 14.10.8 |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
ghsa·2023-10-25
CVE-2023-37909 [HIGH] CWE-94 Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
### Impact
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 can be reproduced with the following steps:
1. As an advanced user, use the object editor to add an object of type `UIExtensionClass` to your user profile. Set the value "Extension Point ID" to `{{/html}}{{async async=false cache=false}}{{groovy}}println("Hello from Groovy!"){{/groovy}}{{/async}}`
2. Open `/xwiki/bin/edit/XWiki/?sheet=Menu.UIExtensionSheet` where `` is the URL of your XWiki installation and `` is your user name.
If the text `Hello from Groovy!" selected
OSV
Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
osv·2023-10-25
CVE-2023-37909 [HIGH] Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
### Impact
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 can be reproduced with the following steps:
1. As an advanced user, use the object editor to add an object of type `UIExtensionClass` to your user profile. Set the value "Extension Point ID" to `{{/html}}{{async async=false cache=false}}{{groovy}}println("Hello from Groovy!"){{/groovy}}{{/async}}`
2. Open `/xwiki/bin/edit/XWiki/?sheet=Menu.UIExtensionSheet` where `` is the URL of your XWiki installation and `` is your user name.
If the text `Hello from Groovy!" selected
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/9e8f080094333dec63a8583229a3799208d773behttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v2rr-xw95-wcjxhttps://jira.xwiki.org/browse/XWIKI-20746https://github.com/xwiki/xwiki-platform/commit/9e8f080094333dec63a8583229a3799208d773behttps://github.com/xwiki/xwiki-platform/security/advisories/GHSA-v2rr-xw95-wcjxhttps://jira.xwiki.org/browse/XWIKI-20746
2023-10-25
Published