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.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)1.5%top 26.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-core-rendering-macro-footnotes14.10.6GHSA-35j5-m29r-xfq5
Mavenorg.xwiki.rendering:xwiki-rendering-macro-footnotes14.10.6GHSA-35j5-m29r-xfq5
Mavenorg.xwiki.rendering:xwiki-rendering-macro-footnotes15.1-rc-1GHSA-35j5-m29r-xfq5

Affected products (as reported)

VendorProductVersions
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