CVE-2024-45591: XWiki Platform document history including authors of any page exposed to unauthorized actors
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
Other sources
XWiki Platform is a generic wiki platform. 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. This has been patched in XWiki 15.10.9 and XWiki 16.3.0RC1.
— NVD
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2024-45591?
The severity of CVE-2024-45591 is considered medium due to the exposure of sensitive page modification history.
How do I fix CVE-2024-45591?
To fix CVE-2024-45591, upgrade to versions 16.3.0-rc-1 or 15.10.9 of the affected XWiki packages.
Which versions of XWiki are affected by CVE-2024-45591?
CVE-2024-45591 affects XWiki versions between 1.8.0 and 15.10.9 and between 16.0.0 and 16.3.0.
What information is exposed due to CVE-2024-45591?
CVE-2024-45591 exposes the history of page modifications including modification time, version number, and author details.
Who is vulnerable to CVE-2024-45591?
Users of XWiki with vulnerable versions of the REST API are at risk from CVE-2024-45591.