xwiki/xwiki-platform · Security
XWiki Platform document history including authors of any page exposed to unauthorized actors
- GHSA ID
- GHSA-pvmm-55r5-g3mm
- CVE ID
- CVE-2024-45591
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CVSS v4
- 6.9 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Description
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
CWEs
- CWE-359 · Exposure of Private Personal Information to an Unauthorized Actor
- CWE-862 · Missing Authorization
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-pvmm-55r5-g3mm ↗
- https://github.com/xwiki/xwiki-platform/commit/26482ee5d29fc21f31134d1ee13db48716e89e0f ↗
- https://github.com/xwiki/xwiki-platform/commit/9cbca9808300797c67779bb9a665d85cf9e3d4b8 ↗
- https://jira.xwiki.org/browse/XWIKI-22052 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-45591 ↗
- https://github.com/advisories/GHSA-pvmm-55r5-g3mm ↗