CVE-2023-29509
org.xwiki.platform:xwiki-platform-flamingo-theme-ui Eval Injection vulnerability
In short
A vulnerability in XWiki's Flamingo theme allows any user with basic viewing permissions to run malicious code (Groovy, Python, or Velocity) that can take over the entire XWiki installation. This happens because the documentTree macro doesn't properly clean up user input before processing it.
Technical detail
The documentTree macro in FlamingoThemesCode.WebHome fails to properly escape parameters, allowing code injection attacks. An authenticated user with view rights can inject arbitrary Groovy, Python, or Velocity code through macro parameters, leading to remote code execution with full XWiki installation access. Attack requires only view-level permissions on default-installed documents.
Summary generated and translated by AI from the official description.
XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights on commonly accessible documents can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the `documentTree` macro parameters in This macro is installed by default in `FlamingoThemesCode.WebHome`. This page is installed by default. The vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Affected products
xwiki · xwiki-platformWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →