Vulnerability · Published Oct 25, 2023 · Assigned by GitHub_M
CVE-2023-37912XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro
Critical 10.0
In plain English
A critical-severity security flaw in xwiki-rendering from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-core-rendering-macro-footnotes | 14.10.6 | GHSA-35j5-m29r-xfq5 |
| Maven | org.xwiki.rendering:xwiki-rendering-macro-footnotes | 14.10.6 | GHSA-35j5-m29r-xfq5 |
| Maven | org.xwiki.rendering:xwiki-rendering-macro-footnotes | 15.1-rc-1 | GHSA-35j5-m29r-xfq5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-rendering | < 14.10.6>= 15.0-rc-1, < 15.1-rc-1 |
Weakness: CWE-270 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116e x_refsource_MISC
- https://jira.xwiki.org/browse/XRENDERING-688 x_refsource_MISC