Headline
GHSA-pvmm-55r5-g3mm: 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
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-45591
XWiki Platform document history including authors of any page exposed to unauthorized actors
Package
maven org.xwiki.platform:xwiki-platform-rest-server (Maven)
Affected versions
>= 1.8.0, < 15.10.9
>= 16.0.0-rc-1, < 16.3.0-rc-1
Patched versions
15.10.9
16.3.0-rc-1
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
- xwiki/xwiki-platform@9cbca98
References
- GHSA-pvmm-55r5-g3mm
- xwiki/xwiki-platform@26482ee
- xwiki/xwiki-platform@9cbca98
- https://jira.xwiki.org/browse/XWIKI-22052
Published to the GitHub Advisory Database
Sep 10, 2024