VDB
Sign up
MEDIUM5.3

GHSA-pvmm-55r5-g3mm

XWiki Platform document history including authors of any page exposed to unauthorized actors

Quick fix

GHSA-pvmm-55r5-g3mm — org.xwiki.platform:xwiki-platform-rest-server: upgrade to the fixed version with the command below.

# pom.xml: bump <version>15.10.9</version> for org.xwiki.platform:xwiki-platform-rest-server

Details

### Impact The REST API exposes the history of any page in XWiki of which the attacker knows the name. The exposed information includes for each modification of the page the time of the modification, the version number, the author of the modification (both username and displayed name) and the version comment. This information is exposed regardless of the rights setup, and even when the wiki is configured to be fully private.

On a private wiki, this can be tested by accessing `/xwiki/rest/wikis/xwiki/spaces/Main/pages/WebHome/history`, if this shows the history of the main page then the installation is vulnerable.

### Patches This has been patched in XWiki 15.10.9 and XWiki 16.3.0RC1.

### Workarounds There aren't any known workarounds apart from upgrading to a fixed version.

### References * https://jira.xwiki.org/browse/XWIKI-22052 * https://github.com/xwiki/xwiki-platform/commit/9cbca9808300797c67779bb9a665d85cf9e3d4b8

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.xwiki.platform:xwiki-platform-rest-server
Introduced in: 1.8.0Fixed in: 15.10.9
Fix# pom.xml: bump <version>15.10.9</version> for org.xwiki.platform:xwiki-platform-rest-server
Maven/org.xwiki.platform:xwiki-platform-rest-server
Introduced in: 16.0.0-rc-1Fixed in: 16.3.0-rc-1
Fix# pom.xml: bump <version>16.3.0-rc-1</version> for org.xwiki.platform:xwiki-platform-rest-server

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.xwiki.platform/xwiki-platform-rest-server"]}'