CVE-2024-31984CWE-95

XWiki Platform: Remote code execution through space title and Solr space facet

Critical · published April 10, 2024

Patch now

High probability of exploitation

CVSS calls it critical at 10.0. It sits in the 99.7th percentile for exploit probability.

CVSS v3.1
10.0
EPSS
83%
Percentile
99.7
In the wild
Unconfirmed
What it is

🔥 A crafty title change is all it takes for remote code execution in XWiki! 🚨 Any user who can edit a space title can unleash Groovy code, making this a critical concern for all installations. Think of it like a restaurant where anyone can change the name of the menu items. If they can sneak in a wild ingredient in the title, they can alter the dish itself without anyone noticing, potentially ruining meals for everyone! An attacker could twist the title into a malicious command, executing any Groovy code they desire within your XWiki installation. This opens the door to a horrifying situation where the confidentiality, integrity, and availability of all your wiki data are at serious risk. The potential fallout? Data leaks, unauthorized modifications, or even a complete takeover of your XWiki environment!

Put simply

Think of it like a restaurant where anyone can change the name of the menu items. If they can sneak in a wild ingredient in the title, they can alter the dish itself without anyone noticing, potentially ruining meals for everyone! This vulnerability arises from a flaw in the way XWiki processes document titles, allowing users to inject and execute arbitrary Groovy code in the Solr-based search system simply by editing a document's title.

What to do

An attacker could twist the title into a malicious command, executing any Groovy code they desire within your XWiki installation. This opens the door to a horrifying situation where the confidentiality, integrity, and availability of all your wiki data are at serious risk. The potential fallout? Data leaks, unauthorized modifications, or even a complete takeover of your XWiki environment! To fix this, update your XWiki to version 14.10.20, 15.5.4, or 15.10-rc-1. If you can't upgrade right away, manually apply the patch to the `Main.SolrSpaceFacet` page to safeguard against this vulnerability. Don't wait too long – your security is paramount! You've got this! With these steps, you're on your way to reinforcing your XWiki fortress! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.82996 · 99.7th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2024-04-10T19:53Z
EPSS history
Timeline
  • 10 APR 19:53Z
    XWiki Platform: Remote code execution through space title and Solr space facet
    cvelistv5