CVE-2024-31986CWE-352CWE-95

XWiki Platform CSRF remote code execution through scheduler job's document reference

Critical · published April 10, 2024

CVSS v3.1
9.1
EPSS
1%
Percentile
45.2
In the wild
Unconfirmed
What it is

🔥 A crafty document reference turns a simple admin visit into a potential server takeover! 🔥 Think of this vulnerability as a restaurant where a menu item can secretly include a dangerous ingredient that only gets revealed when the chef serves it up. If the head chef (admin) isn't careful, they might unknowingly whip up a dish that poisons the whole kitchen! An attacker could potentially execute arbitrary code on your server just by luring an admin into visiting the scheduler page—imagine giving someone the keys to the entire restaurant just because they wanted to check a recipe! This could lead to data breaches, unauthorized access, or even a complete system takeover, and that’s absolutely devastating!

Put simply

Think of this vulnerability as a restaurant where a menu item can secretly include a dangerous ingredient that only gets revealed when the chef serves it up. If the head chef (admin) isn't careful, they might unknowingly whip up a dish that poisons the whole kitchen! This vulnerability in XWiki allows attackers to craft a document with a specific reference and an `XWiki.SchedulerJobClass` XObject. When an admin interacts with the scheduler page, malicious code can be executed on the server without proper authorization.

What to do

An attacker could potentially execute arbitrary code on your server just by luring an admin into visiting the scheduler page—imagine giving someone the keys to the entire restaurant just because they wanted to check a recipe! This could lead to data breaches, unauthorized access, or even a complete system takeover, and that’s absolutely devastating! To protect yourself, update to XWiki versions 14.10.19, 15.5.5, or 15.9 immediately. If you can't patch right away, manually modify the `Scheduler.WebHome` page as a temporary workaround. Keep an eye on your wiki for any suspicious activity and audit your user permissions regularly! You've got this! Follow these steps, and you'll secure your XWiki in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00549 · 45.2th percentile
Weaknesses
CWE-352 · Cross-Site Request Forgery (CSRF); CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2024-04-10T20:27Z
EPSS history
Timeline
  • 10 APR 20:27Z
    XWiki Platform CSRF remote code execution through scheduler job's document reference
    cvelistv5