Arbitrary Code Injection Affecting org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki package, versions [,13.10.6) [14.0-rc-1,14.5)
Proof of concept
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.Test your applications
9 Sep 2022
9 Sep 2022
How to fix?
org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki to version 13.10.6, 14.5 or higher.
Affected versions of this package are vulnerable to Arbitrary Code Injection via the request (URL parameter) using the
XWikiServerClassSheet, given that the user has view access to this sheet and to another page that has been saved with programming rights.
Users who are not able to update to the fixed version may edit the affected document
WikiManager.XWikiServerClassSheet and manually perform the changes from the patch fixing the issue. On XWiki versions 12.0 and later, it is also possible to import the document
XWiki.XWikiServerClassSheet from the xwiki-platform-wiki-ui-mainwiki package version. 14.4 using the import feature of the administration application as there have been no other changes to this document since XWiki 12.0.