Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-36470— Code injection in icon themes of XWiki Platform

Quick assessment

Affected
xwiki xwiki-platform
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

XWiki Platform是法国XWiki基金会的一套用于创建Web协作应用程序的Wiki平台。 XWiki Platform 14.10.6之前版本、 15.2-rc-1之前版本存在注入漏洞,该漏洞源于通过创建新文档或使用图标集编辑现有文档,攻击者利用该漏洞可以注入 XWiki 语法和使用编程权限执行的 Velocity 代码。

CVSS 10.0 · Critical EPSS 1.93% · P79
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-36470

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Code injection in icon themes of XWiki Platform
Source: CVE Program / CVE List V5
Vulnerability Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. By either creating a new or editing an existing document with an icon set, an attacker can inject XWiki syntax and Velocity code that is executed with programming rights and thus allows remote code execution. There are different attack vectors, the simplest is the Velocity code in the icon set's HTML or XWiki syntax definition. The [icon picker](https://extensions.xwiki.org/xwiki/bin/view/Extension/Icon%20Theme%20Application#HIconPicker) can be used to trigger the rendering of any icon set. The XWiki syntax variant of the icon set is also used without any escaping in some documents, allowing to inject XWiki syntax including script macros into a document that might have programming right, for this the currently used icon theme needs to be edited. Further, the HTML output of the icon set is output as JSON in the icon picker and this JSON is interpreted as XWiki syntax, allowing again the injection of script macros into a document with programming right and thus allowing remote code execution. This impacts the confidentiality, integrity and availability of the whole XWiki instance. This issue has been patched in XWiki 14.10.6 and 15.1. Icon themes now require script right and the code in the icon theme is executed within the context of the icon theme, preventing any rights escalation. A macro for displaying icons has been introduced to avoid injecting the raw wiki syntax of an icon set into another document. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
输出中的特殊元素转义处理不恰当(注入)
Source: CVE Program / CVE List V5
Vulnerability Title
XWiki Platform 注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
XWiki Platform是法国XWiki基金会的一套用于创建Web协作应用程序的Wiki平台。 XWiki Platform 14.10.6之前版本、 15.2-rc-1之前版本存在注入漏洞,该漏洞源于通过创建新文档或使用图标集编辑现有文档,攻击者利用该漏洞可以注入 XWiki 语法和使用编程权限执行的 Velocity 代码。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
xwiki xwiki-platform >= 6.2-milestone-1, < 14.10.6 -

II. Public POCs for CVE-2023-36470

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-36470

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-36470 (3)

Vendor Advisories for CVE-2023-36470 (1)

Other References for CVE-2023-36470 (1)

Same Patch Batch · xwiki · 2023-06-29 · 4 CVEs total

CVE-2023-36468 10.0 CRITICAL Upgrading doesn't prevent exploiting vulnerable XWiki documents
CVE-2023-36469 10.0 CRITICAL Code injection through NotificationRSSService in XWiki Platform
CVE-2023-36471 9.1 CRITICAL HTML sanitizer allows form elements in restricted in org.xwiki.commons:xwiki-commons-xml

IV. Related Vulnerabilities

V. Comments for CVE-2023-36470

No comments yet


Leave a comment