XWiki Platform: Remote code execution as guest via DatabaseSearch
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-search-ui Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-search-ui Maven |
|
|
XWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's database search allows remote code execution through the search text. This allows remote code execution for any visitor of a public wiki or user of a closed wiki as the database search is by default accessible for all users. This impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. As a workaround, one may manually apply the patch to the page `Main.DatabaseSearch`. Alternatively, unless database search is explicitly used by users, this page can be deleted as this is not the default search interface of XWiki.
From the CVE record · GitHub_M
XWiki Platform's database search is vulnerable to remote code execution through search text. Any visitor to a public wiki, or any user of a closed wiki, can exploit it because database search is accessible to all users by default.
Operators using Maven package org.xwiki.platform:xwiki-platform-search-ui in versions >=2.4-milestone-1 and <14.10.20, >=15.0-rc-1 and <15.5.4, or >=15.6-rc-1 and <15.10-rc-1 should check their installations.