First published: Tue Sep 10 2024(Updated: )
### 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
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
maven/org.xwiki.platform:xwiki-platform-rest-server | >=16.0.0-rc-1<16.3.0-rc-1 | 16.3.0-rc-1 |
maven/org.xwiki.platform:xwiki-platform-rest-server | >=1.8.0<15.10.9 | 15.10.9 |
Xwiki | >=1.8<15.10.9 | |
Xwiki | >=16.0.0<16.3.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2024-45591 is considered medium due to the exposure of sensitive page modification history.
To fix CVE-2024-45591, upgrade to versions 16.3.0-rc-1 or 15.10.9 of the affected XWiki packages.
CVE-2024-45591 affects XWiki versions between 1.8.0 and 15.10.9 and between 16.0.0 and 16.3.0.
CVE-2024-45591 exposes the history of page modifications including modification time, version number, and author details.
Users of XWiki with vulnerable versions of the REST API are at risk from CVE-2024-45591.