CVE-2024-31997CWE-862

XWiki Platform remote code execution from account through UIExtension parameters

Critical · published April 10, 2024

Patch now

High probability of exploitation

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

CVSS v3.1
10.0
EPSS
74%
Percentile
99.5
In the wild
Unconfirmed
What it is

🔥 A crafty user can turn any UI extension into an execution powerhouse! Before versions 4.10.19, 15.5.4, and 15.10-rc-1, XWiki treated parameters like their own programming language, opening the door to chaos! Think of it as a restaurant where any diner can step into the kitchen and change the menu without approval — a recipe for disaster! 🍽️ This vulnerability lets anyone with edit rights craft extensions that can run arbitrary code, jeopardizing the entire kitchen of your XWiki installation. An attacker could execute unauthorized code, potentially compromising every bit of data within your XWiki, from confidential documents to user accounts. This is absolutely devastating for your wiki's security and could lead to loss of integrity and availability, leaving your wiki vulnerable to manipulation or complete shutdown!

Put simply

Think of it as a restaurant where any diner can step into the kitchen and change the menu without approval — a recipe for disaster! 🍽️ This vulnerability lets anyone with edit rights craft extensions that can run arbitrary code, jeopardizing the entire kitchen of your XWiki installation. XWiki prior to the specified versions processes UI extension parameters as Velocity code with full programming rights, allowing a user with edit privileges on their profile to create harmful extensions that result in remote code execution.

What to do

An attacker could execute unauthorized code, potentially compromising every bit of data within your XWiki, from confidential documents to user accounts. This is absolutely devastating for your wiki's security and could lead to loss of integrity and availability, leaving your wiki vulnerable to manipulation or complete shutdown! Update XWiki to version 14.10.19, 15.5.4, or 15.9-RC1 immediately to patch this critical vulnerability. Review user permissions to limit edit rights where possible and monitor for any suspicious activity. There are no workarounds available, so prompt action is essential to secure your instance. You've got this! With these steps, you'll be on your way to securing your XWiki installation in no time! 🛡️

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.73925 · 99.5th percentile
Weakness
CWE-862 · Missing Authorization
Published
2024-04-10T21:55Z
EPSS history
Timeline
  • 10 APR 21:55Z
    XWiki Platform remote code execution from account through UIExtension parameters
    cvelistv5