CVE-2023-37912
published 2023-10-25CVE-2023-37912: XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. Prior to version 14.10.6 of…
PriorityP259high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
1.25%
65.6th percentile
XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax. Prior to version 14.10.6 of `org.xwiki.platform:xwiki-core-rendering-macro-footnotes` and `org.xwiki.platform:xwiki-rendering-macro-footnotes` and prior to version 15.1-rc-1 of `org.xwiki.platform:xwiki-rendering-macro-footnotes`, the footnote macro executed its content in a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.6 and 15.1-rc-1. There is no workaround apart from upgrading to a fixed version of the footnote macro.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki-rendering | < 14.10.6 | 14.10.6 |
| xwiki | xwiki-rendering | — | — |
| xwiki | xwiki-rendering | — | — |
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.
OSV
XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro
osv·2023-10-25
CVE-2023-37912 [HIGH] XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro
XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro
### Impact
The footnote macro executed its content in a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation.
To reproduce, perform the following steps:
1. Edit your user profile with the object editor and add an object of type DocumentSheetBinding with value XWiki.ClassSheet
2. Edit your user profile with the wiki editor and add the syntax `{{footnote}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/footnote}}
GHSA
XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro
ghsa·2023-10-25
CVE-2023-37912 [HIGH] CWE-270 XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro
XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro
### Impact
The footnote macro executed its content in a potentially different context than the one in which it was defined. In particular in combination with the include macro, this allows privilege escalation from a simple user account in XWiki to programming rights and thus remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki installation.
To reproduce, perform the following steps:
1. Edit your user profile with the object editor and add an object of type DocumentSheetBinding with value XWiki.ClassSheet
2. Edit your user profile with the wiki editor and add the syntax `{{footnote}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/footnote}}
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116ehttps://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5https://jira.xwiki.org/browse/XRENDERING-688https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116ehttps://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5https://jira.xwiki.org/browse/XRENDERING-688
2023-10-25
Published