cve.bz

CVE-2023-37912 xwiki xwiki-rendering: Privilege Context Switching Error

8.8 highExploit referenceEPSS 1.5%Fix available

High (8.8) in xwiki xwiki-rendering. EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.rendering:xwiki-rendering-macro-footnotes 14.10.6, 15.1-rc-1.

On this page
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.

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2024-09-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-270 Privilege Context Switching Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-37912 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-37912?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-37912?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-37912 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xwiki:xwiki-renderingbefore 14.10.6
xwiki:xwiki-rendering15.0:rc1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-35j5-m29r-xfq5Mavenorg.xwiki.rendering:xwiki-rendering-macro-footnotes<14.10.614.10.6
GHSA-35j5-m29r-xfq5Mavenorg.xwiki.rendering:xwiki-rendering-macro-footnotes>=15.0-rc-1 <15.1-rc-115.1-rc-1
GHSA-35j5-m29r-xfq5Mavenorg.xwiki.platform:xwiki-core-rendering-macro-footnotes<14.10.614.10.6

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-30 Hijacking a Privileged Thread of Execution Likelihood: Low · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON