CVE-2023-50721CWE-94CWE-95

XWiki Platform RCE from account through SearchAdmin

Critical · published December 15, 2023

Patch now

High probability of exploitation

CVSS calls it critical at 10.0. It sits in the 99.6th percentile for exploit probability.

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

🔥 You can trigger a remote code execution attack just by editing a wiki page! The XWiki Platform has a vulnerability that’d let any user who can edit a page inject malicious scripts straight into the administration interface. ⚡ Think of it like a restaurant where anyone can suggest new menu items. If the chef doesn't check the suggestions thoroughly, someone might slip in a recipe that could ruin dinner for everyone! Here, the search administration interface is that unchecked kitchen, vulnerable to malicious input. With this vulnerability, an attacker can inject Groovy macros into the system, leading to potentially devastating consequences. They could access sensitive data, alter content, or even bring the entire XWiki instance to a halt. The threat to confidentiality, integrity, and availability is nothing short of catastrophic!

Put simply

Think of it like a restaurant where anyone can suggest new menu items. If the chef doesn't check the suggestions thoroughly, someone might slip in a recipe that could ruin dinner for everyone! Here, the search administration interface is that unchecked kitchen, vulnerable to malicious input. The issue stems from the XWiki search administration interface failing to properly escape the id and label of user interface extensions, allowing the injection of harmful XWiki syntax. This can be exploited by any user who has the ability to edit a wiki page.

What to do

With this vulnerability, an attacker can inject Groovy macros into the system, leading to potentially devastating consequences. They could access sensitive data, alter content, or even bring the entire XWiki instance to a halt. The threat to confidentiality, integrity, and availability is nothing short of catastrophic! To protect your XWiki instance, upgrade to versions 14.10.15, 15.5.2, or 15.7-rc-1 immediately. If for any reason you can’t upgrade right now, apply the patch manually to the page `XWiki.SearchAdmin` to mitigate the risk. Act fast! You’ve got this! Follow these steps and you’ll lock down your XWiki like a pro! 🛡️

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.78812 · 99.6th percentile
Weaknesses
CWE-94 · Improper Control of Generation of Code ('Code Injection'); CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2023-12-15T19:02Z
EPSS history
Timeline
  • 15 DEC 19:02Z
    XWiki Platform RCE from account through SearchAdmin
    cvelistv5