XWiki Platform: Remote code execution from edit in multilingual wikis via translations
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-localization-source-wiki Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-localization-source-wiki Maven |
|
|
XWiki Platform is a generic wiki platform. In multilingual wikis, translations can be edited by any user who has edit right, circumventing the rights that are normally required for authoring translations (script right for user-scope translations, wiki admin for translations on the wiki). Starting in version 4.3-milestone-2 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, this can be exploited for remote code execution if the translation value is not properly escaped where it is used. This has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. As a workaround, one may restrict edit rights on documents that contain translations.
From the CVE record · GitHub_M
In multilingual XWiki wikis, users with edit rights can change translations without the script or wiki-admin rights normally required. A remote attacker with edit rights can achieve code execution if a translation value is not properly escaped where it is used.
Operators of XWiki Platform using org.xwiki.platform:xwiki-platform-localization-source-wiki should check versions >=4.3-milestone-2 and <14.10.20, >=15.0-rc-1 and <15.5.4, or >=15.6-rc-1 and <15.10-rc-1.