org.xwiki.platform:xwiki-platform-legacy-notification-activitymacro Eval Injection vulnerability
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-legacy-notification-activitymacro Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-legacy-notification-activitymacro Maven |
|
|
XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights on commonly accessible documents including the legacy notification activity macro 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 macro parameters of the legacy notification activity macro. This macro is installed by default in XWiki. The vulnerability can be exploited via every wiki page that is editable including the user's profile, but also with just view rights using the HTMLConverter that is part of the CKEditor integration which is bundled with XWiki. The vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10.
From the CVE record · GitHub_M
The legacy notification activity macro improperly escapes its parameters and is installed by default in XWiki. A user with view rights on commonly accessible documents containing the macro can execute arbitrary Groovy, Python, or Velocity code and gain full access to the installation. Exploitation is possible through editable wiki pages or, with only view rights, through the bundled CKEditor integration’s HTMLConverter.
Check installations using Maven package org.xwiki.platform:xwiki-platform-legacy-notification-activitymacro in versions >=10.9 <13.10.11, >=14.0-rc-1 <14.4.7, or >=14.5 <14.10.