CVE-2023-29210CWE-95

org.xwiki.platform:xwiki-platform-notifications-ui Eval Injection vulnerability

Critical · published April 15, 2023

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

🚨 Just by viewing a common document, an attacker can execute arbitrary code in XWiki—like a clever magician pulling a rabbit out of a hat! 🔥 This is like having an open mic night where anyone can hop up and start performing their own routine—no vetting required! The notification preferences macros are the stage, and if the wrong person grabs the mic, it could lead to chaos. An attacker with view rights can run their own Groovy, Python, or Velocity code, potentially gaining full control of the XWiki installation. This means they could access, modify, or delete any information, leading to disastrous consequences for any organization relying on XWiki for critical documentation.

Put simply

This is like having an open mic night where anyone can hop up and start performing their own routine—no vetting required! The notification preferences macros are the stage, and if the wrong person grabs the mic, it could lead to chaos. The vulnerability stems from improper escaping of user parameters in the notification filters macro, which allows any user with view permissions to execute arbitrary code on the server.

What to do

An attacker with view rights can run their own Groovy, Python, or Velocity code, potentially gaining full control of the XWiki installation. This means they could access, modify, or delete any information, leading to disastrous consequences for any organization relying on XWiki for critical documentation. Secure your installation by upgrading to XWiki versions 13.10.11, 14.4.7, or 14.10 immediately. Review user permissions and ensure only trusted individuals have view rights to sensitive documents. Regularly audit your macros for similar vulnerabilities. You've got this! By following these steps, you’ll keep your XWiki fortress safe and sound! 🛡️

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.01193 · 67.8th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2023-04-15T16:20Z
EPSS history
Timeline
  • 15 APR 16:20Z
    org.xwiki.platform:xwiki-platform-notifications-ui Eval Injection vulnerability
    cvelistv5