Privilege escalation (PR)/RCE from account through Invitation subject/message
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-invitation-ui Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-invitation-ui Maven |
|
|
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user who can view `Invitation.WebHome` can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This vulnerability has been patched on XWiki 14.4.8, 15.2-rc-1, and 14.10.6. Users are advised to upgrade. Users unable to upgrade may manually apply the patch on `Invitation.InvitationCommon` and `Invitation.InvitationConfig`, but there are otherwise no known workarounds for this vulnerability.
From the CVE record · GitHub_M
The invitation UI lets any user who can view `Invitation.WebHome` execute arbitrary script macros, including Groovy and Python macros. This can lead to remote code execution and unrestricted read and write access to all wiki contents.
Operators using Maven package `org.xwiki.platform:xwiki-platform-invitation-ui` in versions >=2.5-m-1 <14.4.8, >=14.5 <14.10.6, or >=15.0-rc-1 <15.2-rc-1 should check their installations.