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-serverDetails
### 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
1.8.0Fixed in: 15.10.9# pom.xml: bump <version>15.10.9</version> for org.xwiki.platform:xwiki-platform-rest-server16.0.0-rc-1Fixed in: 16.3.0-rc-1# pom.xml: bump <version>16.3.0-rc-1</version> for org.xwiki.platform:xwiki-platform-rest-serverReferences
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-pvmm-55r5-g3mm[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-45591[ADVISORY]
- https://github.com/xwiki/xwiki-platform/commit/26482ee5d29fc21f31134d1ee13db48716e89e0f[WEB]
- https://github.com/xwiki/xwiki-platform/commit/9cbca9808300797c67779bb9a665d85cf9e3d4b8[WEB]
- https://github.com/xwiki/xwiki-platform[PACKAGE]
- https://jira.xwiki.org/browse/XWIKI-22052[WEB]
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"]}'