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.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)83.0%top 0.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-search-solr-ui14.10.20GHSA-xm4h-3jxr-m3c6
Mavenorg.xwiki.platform:xwiki-platform-search-solr-ui15.5.4GHSA-xm4h-3jxr-m3c6
Mavenorg.xwiki.platform:xwiki-platform-search-solr-ui15.10-rc-1GHSA-xm4h-3jxr-m3c6

Affected products (as reported)

VendorProductVersions
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