VDB
Sign up
HIGH8.7

GHSA-jp4x-w9cj-97q7

XWiki allows remote code execution through preview of XClass changes in AWM editor

Quick fix

GHSA-jp4x-w9cj-97q7 — org.xwiki.platform:xwiki-platform-oldcore: upgrade to the fixed version with the command below.

# pom.xml: bump <version>16.4.7</version> for org.xwiki.platform:xwiki-platform-oldcore

Details

### Impact Any XWiki user with edit right on at least one App Within Minutes application (the default for all users XWiki) can obtain programming right/perform remote code execution by editing the application. The detailed reproduction steps can be found in the [original bug report](https://jira.xwiki.org/browse/XWIKI-22719).

### Patches This vulnerability has been fixed in XWiki 17.0.0, 16.4.7, and 16.10.3.

### Workarounds Restricting edit rights on all existing App Within Minutes applications to trusted users mitigates at least the PoC exploit, but we can't exclude that there are other ways to exploit this vulnerability.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.xwiki.platform:xwiki-platform-oldcore
Introduced in: 7.2-milestone-2Fixed in: 16.4.7
Fix# pom.xml: bump <version>16.4.7</version> for org.xwiki.platform:xwiki-platform-oldcore
Maven/org.xwiki.platform:xwiki-platform-oldcore
Introduced in: 16.5.0-rc-1Fixed in: 16.10.3
Fix# pom.xml: bump <version>16.10.3</version> for org.xwiki.platform:xwiki-platform-oldcore
Maven/org.xwiki.platform:xwiki-platform-oldcore
Introduced in: 17.0.0-rc-1Fixed in: 17.0.0
Fix# pom.xml: bump <version>17.0.0</version> for org.xwiki.platform:xwiki-platform-oldcore

References