CVE-2023-37909CWE-95

Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet

Critical · published October 25, 2023

CVSS v3.1
10.0
EPSS
2%
Percentile
75.9
In the wild
Unconfirmed
What it is

🚨 An unsuspecting wiki user can unleash chaos with just a tweak! This critical vulnerability in XWiki allows anyone who can edit their own profile to run arbitrary scripts, like a chef throwing in surprise ingredients without warning. 🔥 Think of it like a restaurant where patrons can secretly swap the chef's ingredients in the kitchen — one incorrect change could lead to disaster in the menu! If exploited, an attacker could gain unrestricted read and write access to all wiki contents, allowing them to manipulate or destroy valuable data at will. This could lead to a complete compromise of the wiki, leaving your organization vulnerable to data leaks or loss.

Put simply

Think of it like a restaurant where patrons can secretly swap the chef's ingredients in the kitchen — one incorrect change could lead to disaster in the menu! This vulnerability allows users to execute arbitrary Groovy and Python macros by editing their own user profiles, bypassing normal security checks. The flaw exists in XWiki versions 5.1-rc-1 through 14.10.7 and 15.3-rc-1, which fail to properly escape user inputs.

What to do

If exploited, an attacker could gain unrestricted read and write access to all wiki contents, allowing them to manipulate or destroy valuable data at will. This could lead to a complete compromise of the wiki, leaving your organization vulnerable to data leaks or loss. To secure your XWiki installation, update to versions 14.10.8 or 15.3-rc-1 immediately. Alternatively, you can manually patch the vulnerability by modifying just three lines in the `Menu.UIExtensionSheet` document. Don’t wait on this — it's critical! You've got this! With these simple steps, you'll fortify your wiki and keep your data safe. 🛡️

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.01621 · 75.9th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2023-10-25T17:09Z
EPSS history
Timeline
  • 25 OCT 17:09Z
    Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet
    cvelistv5