CVE-2022-41934CWE-74

Improper Neutralization of Directives in Dynamically Evaluated Code in org.xwiki.platform:xwiki-platform-menu-ui

Critical · published November 23, 2022

CVSS v3.1
9.9
EPSS
1%
Percentile
71.2
In the wild
Unconfirmed
What it is

🚨 A user with just view rights can execute arbitrary code in XWiki—like handing out a master key to the entire building! 🔥 Think of XWiki as a community kitchen where anyone can cook if they have access. If the menu is poorly safeguarded, an untrustworthy chef could whip up anything, even harmful dishes, potentially poisoning everyone. 🍽️ This flaw could allow an attacker to run any code they want, leading to full control over the XWiki installation. Imagine the chaos if an unauthorized person reprograms the recipes or even locks everyone out of the kitchen altogether! 😱

Put simply

Think of XWiki as a community kitchen where anyone can cook if they have access. If the menu is poorly safeguarded, an untrustworthy chef could whip up anything, even harmful dishes, potentially poisoning everyone. 🍽️ The vulnerability arises from improper escaping of macro content in the menu macro, allowing users with view rights to execute Groovy, Python, or Velocity code. This means a simple view can turn into a dangerous command execution scenario.

What to do

This flaw could allow an attacker to run any code they want, leading to full control over the XWiki installation. Imagine the chaos if an unauthorized person reprograms the recipes or even locks everyone out of the kitchen altogether! 😱 To protect your installation, patch immediately to XWiki versions 14.6RC1, 13.10.8, or 14.4.3. If you're using version 11.6 or later, you can apply the relevant patch manually or import a patched XAR archive. Don’t delay—secure your kitchen! 🛡️ You've got this! By applying the patch, you'll restore safety to your XWiki environment in no time. 🎉

The record
Technical detail
CVSS v3.1
9.9 · 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.01346 · 71.2th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2022-11-23T00:00Z
EPSS history
Timeline
  • 23 NOV 00:00Z
    Improper Neutralization of Directives in Dynamically Evaluated Code in org.xwiki.platform:xwiki-platform-menu-ui
    cvelistv5