Description
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.
Remediation
References
Related Vulnerabilities
WordPress Plugin OnePress Social Locker Multiple Cross-Site Scripting Vulnerabilities (4.2.0)
Moodle Exposure of Resource to Wrong Sphere Vulnerability (CVE-2022-40316)
WordPress Plugin Tutor LMS-eLearning and online course solution Cross-Site Scripting (2.6.2)
Jenkins Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2014-3666)