XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
- 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 16.10.10, 17.4.3, 17.6.0-rc-1
- 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). Versions 16.10.9 and below, 17.0.0-rc-1 through 17.4.2 and 17.5.0-rc-1 through 17.5.0 have insufficient protection against {{/html}} injection, which attackers can exploit through RCE. Any user who can edit their own profile or any other document can execute arbitrary script macros, including Groovy and Python macros, which enable remote code execution as well as unrestricted read and write access to all wiki contents. This issue is fixed in versions 16.10.10, 17.4.3 and 17.6.0-rc-1.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- xwiki xwiki-rendering
fixed in 16.10.10; From 17.0.0-rc-1 · fixed in 17.4.3; From 17.5.0-rc-1 · fixed in 17.6.0-rc-1
- org.xwiki.rendering:xwiki-rendering-xmlMaven
fixed in 16.10.10
- org.xwiki.rendering:xwiki-rendering-xmlMaven
From 17.0.0-rc-1 · fixed in 17.4.3
- org.xwiki.rendering:xwiki-rendering-xmlMaven
From 17.5.0-rc-1 · fixed in 17.6.0-rc-1