XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 13.10.11, 14.4.7, 14.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: poc
- Automatable: no
- Technical impact: total
Summary
XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Starting in version 4.2-milestone-1 and prior to versions 13.10.11, 14.4.7, and 14.10, the default macro content parser doesn't preserve the restricted attribute of the transformation context when executing nested macros. This allows executing macros that are normally forbidden in restricted mode, in particular script macros. The cache and chart macros that are bundled in XWiki use the vulnerable feature. This has been patched in XWiki 13.10.11, 14.4.7 and 14.10. To avoid the exploitation of this bug, comments can be disabled for untrusted users until an upgrade to a patched version has been performed. Note that users with edit rights will still be able to add comments via the object editor even if comments have been disabled.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- xwiki xwiki-rendering
From 4.2-milestone-1 · fixed in 13.10.11; From 14.0 · fixed in 14.4.7; From 14.5 · fixed in 14.10
- org.xwiki.rendering:xwiki-rendering-transformation-macroMaven
From 4.2-milestone-1 · fixed in 13.10.11
- org.xwiki.rendering:xwiki-rendering-transformation-macroMaven
From 14.0 · fixed in 14.4.7
- org.xwiki.rendering:xwiki-rendering-transformation-macroMaven
From 14.5 · fixed in 14.10