Vulnerability · Published Apr 10, 2024 · Assigned by GitHub_M
CVE-2024-31465XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet
Critical 10.0
In plain English
A critical-severity security flaw in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 75.6% (higher than 99.5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises 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.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-search-ui | 14.10.20 | GHSA-34fj-r5gq-7395 |
| Maven | org.xwiki.platform:xwiki-platform-search-ui | 15.5.4 | GHSA-34fj-r5gq-7395 |
| Maven | org.xwiki.platform:xwiki-platform-search-ui | 15.10-rc-1 | GHSA-34fj-r5gq-7395 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 5.2-milestone-2, < 14.10.20>= 15.0-rc-1, < 15.5.4>= 15.6-rc-1, < 15.10-rc-1 |
Weakness: CWE-95 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-34fj-r5gq-7395 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/0317a3aa78065e66c86fc725976b06bf7f9b446e x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/2740974c32dbb7cc565546d0f04e2374b32b36f7 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809#diff-67b473d2b6397d65b7726c6a13555850b11b10128321adf9e627e656e1d130a5 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-21474 x_refsource_MISC