Arbitrary Code Injection Affecting org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki package, versions [,13.10.6) [14.0-rc-1,14.5)


0.0
critical
  • Exploit Maturity

    Proof of concept

  • Attack Complexity

    Low

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

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
  • snyk-id

    SNYK-JAVA-ORGXWIKIPLATFORM-3019836

  • published

    9 Sep 2022

  • disclosed

    9 Sep 2022

  • credit

    Unknown

How to fix?

Upgrade org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki to version 13.10.6, 14.5 or higher.

Overview

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.

Workaround

Users who are not able to update to the fixed version may edit the affected document XWiki.XWikiServerClassSheet or 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.