Critical, CVSS 10.0MavenPublished
XWiki Platform vulnerable to remote code execution through the section parameter in Administration as guest
CVE-2023-46731 · GHSA-62pr-qqf7-hh89
- Affected
- Maven org.xwiki.platform:xwiki-platform-administration < 14.10.14
- Fixed in
- 14.10.14· Vendor fix available
- Issue
- Impact XWiki doesn't properly escape the section URL parameter that is used in the code for displaying administration sections. This allows any user with read access to the document XWiki.AdminSheet (by default, everyone including unauthenticated users) to execute code including Groovy code. This impacts the confidentiality, integrity and availability of the whole XWiki instance. By opening the URL <server/xwiki/bin/get/Main/WebHome?sheet=XWiki.AdminSheet&viewer=content§ion=%5D%5D%7B%7B%2Fhtml%7D%7D%7B%7Basync%7D%7D%7B%7Bgroovy%7D%7Dservices.logging.getLogger(%22attacker%22).error(%22Attack%20succeeded!%22)%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fasync%7D%7D&xpage=view where <server is the URL of the XWiki installation, it can be tested if an XWiki installation is vulnerable. If this causes a log message ERROR attacker - Attack succeeded! to appear in XWiki's log, the installation is vulnerable. In very old versions of XWiki, the attack can be demonstrated with…
Recommended action: Upgrade to 14.10.14 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.