CVE-2023-29522CWE-74

Code injection from view right on XWiki.ClassSheet in xwiki-platform

Critical · published April 18, 2023

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

🔥 A crafty page name is all it takes for anyone with view rights to unleash a script that wreaks havoc on your XWiki Platform! Think of this vulnerability like an unsuspecting hotel guest who has the key to any room but uses it to raid the minibar instead — anyone who can peek at the wiki can run dangerous scripts without a second thought! An attacker could execute arbitrary code, gaining unrestricted read and write access to all contents of the wiki. This could mean altering crucial information, deleting data, or even sabotaging the entire platform. The consequences could be absolutely devastating for your organization!

Put simply

Think of this vulnerability like an unsuspecting hotel guest who has the key to any room but uses it to raid the minibar instead — anyone who can peek at the wiki can run dangerous scripts without a second thought! This vulnerability allows users with view rights to execute arbitrary script macros, including Groovy and Python, by simply crafting a non-existing page request. This oversight in input validation opens the door to remote code execution with full access to the wiki's content.

What to do

An attacker could execute arbitrary code, gaining unrestricted read and write access to all contents of the wiki. This could mean altering crucial information, deleting data, or even sabotaging the entire platform. The consequences could be absolutely devastating for your organization! Upgrade to XWiki versions 14.4.8, 14.10.3, or 15.0RC1 immediately to patch this vulnerability. Ensure that all user permissions are tightly controlled to limit the risk until the upgrade can be fully implemented. You've got this! Follow these steps, and you'll bolster your defenses 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:L
CVSS v4.0
Not supplied
EPSS
0.01864 · 79.1th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2023-04-18T23:38Z
EPSS history
Timeline
  • 18 APR 23:38Z
    Code injection from view right on XWiki.ClassSheet in xwiki-platform
    cvelistv5