Code injection from view right on XWiki.AttachmentSelector in xwiki-platform
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-attachment-ui Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-attachment-ui Maven |
|
|
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with view rights on `XWiki.AttachmentSelector` can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping in the "Cancel and return to page" button. 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. There are no known workarounds for this vulnerability.
From the CVE record · GitHub_M
Improper escaping in the “Cancel and return to page” button on the default-installed XWiki.AttachmentSelector page allows users with view rights to execute arbitrary Groovy, Python, or Velocity code. This can give them full access to the XWiki installation.
Operators of XWiki Platform using org.xwiki.platform:xwiki-platform-attachment-ui versions >=2.0-rc-2 and <13.10.11, >=14.0-rc-1 and <14.4.8, or >=14.5 and <14.10.1 should check their installations.