Skip to content

CVE-2024-31984 XWiki Platform: Remote code execution through space title and Solr space facet

HighCVSS 8.8 EPSS 83.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-search-solr-ui(Maven) >= 7.2-rc-1, < 14.10.20; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.10-rc-1 14.10.20, 15.5.4, 15.10-rc-1 Fixed
xwiki = 7.2; = 7.2-rc1; >= 7.2-rc-1, < 14.10.20; >= 7.3, < 14.10.20 +4 more 14.10.20, 15.5.4, 15.10, 15.10-rc-1 Fixed
xwiki-platform = >= 7.2-rc-1, < 14.10.20; = >= 15.0-rc-1, < 15.5.4; = >= 15.6-rc-1, < 15.10-rc-1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-search-solr-ui(Maven) >= 7.2-rc-1, < 14.10.20 14.10.20
org.xwiki.platform/xwiki-platform-search-solr-ui(Maven) >= 15.0-rc-1, < 15.5.4 15.5.4
org.xwiki.platform/xwiki-platform-search-solr-ui(Maven) >= 15.6-rc-1, < 15.10-rc-1 15.10-rc-1
xwiki-platform = >= 7.2-rc-1, < 14.10.20 No fix listed
xwiki-platform = >= 15.0-rc-1, < 15.5.4 No fix listed
xwiki-platform = >= 15.6-rc-1, < 15.10-rc-1 No fix listed
xwiki >= 7.2-rc-1, < 14.10.20 14.10.20
xwiki >= 15.0-rc-1, < 15.5.4 15.5.4
xwiki >= 15.6-rc-1, < 15.10-rc-1 15.10-rc-1
xwiki >= 7.3, < 14.10.20 14.10.20
xwiki >= 15.0, < 15.5.4 15.5.4
xwiki >= 15.6, < 15.10 15.10
xwiki = 7.2 No fix listed
xwiki = 7.2-rc1 No fix listed

References