CVE-2024-37899CWE-94

Disabling a user account changes its author, allowing RCE from user account in XWiki

Critical · published June 20, 2024

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

🚨 An admin's click can unleash chaos! When disabling a user account on XWiki, the system runs the user's profile with admin privileges - a recipe for disaster! 🔥 Think of it as a restaurant where the chef mistakenly uses a recipe left by a disgruntled former employee. Instead of just cooking their meal, they end up serving a sabotaged dish to everyone in the restaurant! An attacker could slip malicious code into their profile before being disabled by an admin. When the admin clicks that innocuous 'Disable this account' button, they unwittingly execute the attacker's code with elevated privileges, possibly logging sensitive data or causing major disruptions to the system. This vulnerability poses an absolutely devastating risk to the integrity of the entire XWiki instance!

Put simply

Think of it as a restaurant where the chef mistakenly uses a recipe left by a disgruntled former employee. Instead of just cooking their meal, they end up serving a sabotaged dish to everyone in the restaurant! This vulnerability in XWiki allows unauthorized code execution due to improper handling of user profiles during account disabling. When an admin disables a user, the system executes the user’s profile code as if it were the admin's own, leading to potential exploitation.

What to do

An attacker could slip malicious code into their profile before being disabled by an admin. When the admin clicks that innocuous 'Disable this account' button, they unwittingly execute the attacker's code with elevated privileges, possibly logging sensitive data or causing major disruptions to the system. This vulnerability poses an absolutely devastating risk to the integrity of the entire XWiki instance! Upgrade immediately to XWiki versions 14.10.21, 15.5.5, 15.10.6, or 16.0.0. Since there are no known workarounds for this vulnerability, this upgrade is essential to secure your instance. Conduct a thorough review of user profiles to ensure no malicious code has been placed in them. You’ve got this! Act quickly to upgrade and lock down your XWiki environment! 🛡️

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.00694 · 52.4th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2024-06-20T22:13Z
EPSS history
Timeline
  • 20 JUN 22:13Z
    Disabling a user account changes its author, allowing RCE from user account in XWiki
    cvelistv5