Vulnerability · Published Apr 10, 2024 · Assigned by GitHub_M
CVE-2024-31984XWiki Platform: Remote code execution through space title and Solr space facet
Critical 10.0
In plain English
A critical-severity security flaw in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 83.0% (higher than 99.7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform. Starting in version 7.2-rc-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, by creating a document with a specially crafted title, it is possible to trigger remote code execution in the (Solr-based) search in XWiki. This allows any user who can edit the title of a space (all users by default) to execute any Groovy code in the XWiki installation which compromises the confidentiality, integrity and availability of the whole XWiki installation. This has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the `Main.SolrSpaceFacet` page.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-search-solr-ui | 14.10.20 | GHSA-xm4h-3jxr-m3c6 |
| Maven | org.xwiki.platform:xwiki-platform-search-solr-ui | 15.5.4 | GHSA-xm4h-3jxr-m3c6 |
| Maven | org.xwiki.platform:xwiki-platform-search-solr-ui | 15.10-rc-1 | GHSA-xm4h-3jxr-m3c6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 7.2-rc-1, < 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-xm4h-3jxr-m3c6 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/43c9d551e3c11e9d8f176b556dd33bbe31fc66e0 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/5ef9d294d37be92ee22b2549e38663b29dce8767 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/74e301c481e69eeea674dac7fed6af3614cf08c5 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/94fc12db87c2431eb1335ecb9c2954b1905bde62 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/acba74c149a041345b24dcca52c586f872ba97fb x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/ef55105d6eeec5635fd693f0070c5aaaf3bdd940 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-21471 x_refsource_MISC