Code injection in xwiki-platform-web-templates
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-web-templates Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-web-templates Maven |
|
|
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with edit rights on a page (e.g., it's own user page), 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 information loaded from attachments in `imported.vm`, `importinline.vm`, and `packagelist.vm`. This page is installed by default. This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.
From the CVE record · GitHub_M
XWiki Platform improperly escapes attachment information in imported.vm, importinline.vm, and packagelist.vm, which are installed by default. A user with page edit rights can execute arbitrary Groovy, Python, or Velocity code and gain full access to the XWiki installation; no further user interaction is described.
Anyone running XWiki Platform with org.xwiki.platform:xwiki-platform-web-templates versions >=1.0B1 and <13.10.11, >=14.0-rc-1 and <14.4.8, or >=14.5 and <14.10.1 should check their installation.