CVE-2023-36470CWE-74

Code injection in icon themes of XWiki Platform

Critical · published June 29, 2023

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

🔥 A single crafted icon can unleash chaos! With this vulnerability in XWiki, attackers can inject malicious code simply by creating or editing documents. ⚡ Think of it like a sneaky chef manipulating a restaurant's menu to include their own secret ingredients without anyone noticing. Once the unsuspecting diner orders that dish, it could lead to some seriously disastrous consequences! An attacker taking advantage of this flaw could execute arbitrary code, gaining complete control of the XWiki instance. This means they could access, modify, or delete sensitive data, compromising the confidentiality, integrity, and availability of the entire system. It's an absolutely devastating scenario!

Put simply

Think of it like a sneaky chef manipulating a restaurant's menu to include their own secret ingredients without anyone noticing. Once the unsuspecting diner orders that dish, it could lead to some seriously disastrous consequences! This vulnerability arises from insufficient restrictions on icon sets, allowing attackers to inject XWiki syntax and Velocity code, which executes with elevated programming rights. The exploit can be triggered through the icon picker or by editing documents, resulting in remote code execution.

What to do

An attacker taking advantage of this flaw could execute arbitrary code, gaining complete control of the XWiki instance. This means they could access, modify, or delete sensitive data, compromising the confidentiality, integrity, and availability of the entire system. It's an absolutely devastating scenario! Upgrade immediately to XWiki version 14.10.6 or 15.1, which includes critical security patches. Ensure that the icon theme requires script rights and utilize the new macro for displaying icons to prevent direct injection. Don't wait—act now! You've got this! By following these steps, you'll be well on your way to securing your XWiki instance. 🛡️

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.01932 · 79.9th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2023-06-29T20:31Z
EPSS history
Timeline
  • 29 JUN 20:31Z
    Code injection in icon themes of XWiki Platform
    cvelistv5