Paper/Archive/CVE-2023-37912

CVE-2023-37912

xwiki xwiki-rendering — XWiki Rendering's footnote macro vulnerable to privilege escalation via the footnote macro

Description · from the CVE record

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

ProductAffectedFixed inSource
xwiki-rendering< 14.10.6–CNA
xwiki-rendering>= 15.0-rc-1, < 15.1-rc-1–CNA

Scores by source

GitHub_M (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

refgithub.com/xwiki/xwiki-rendering/security/advisories/GHSA-35j5-m29r-xfq5refgithub.com/xwiki/xwiki-rendering/commit/5f558b8fac8b716d19999225f38cb8ed0814116erefjira.xwiki.org/browse/XRENDERING-688