CVE-2023-37462

CRITICAL NUCLEI

XWiki 7.0-14.4.8 - Remote Code Execution via SkinsCode.XWikiSkinsSheet Injection

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2023-37462 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations.

Nuclei Templates (1)

XWiki Platform - Remote Code Execution
HIGHVERIFIEDby parthmalhotra,pdresearch
Shodan: html:"data-xwiki-reference" || xwiki || http.html:"data-xwiki-reference"
FOFA: body="data-xwiki-reference"

References (3)

Core 3
Core References
Exploit, Issue Tracking, Patch, Vendor Advisory x_refsource_confirm
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg
Exploit, Issue Tracking, Vendor Advisory x_refsource_misc
https://jira.xwiki.org/browse/XWIKI-20457

Scores

CVSS v3 9.9
EPSS 0.9135
EPSS Percentile 99.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-74 CWE-95
Status published
Products (2)
org.xwiki.platform/xwiki-platform-skin-ui 7.0-rc-1 - 14.4.8Maven
xwiki/xwiki 7.0 - 14.4.8
Published Jul 14, 2023
Tracked Since Feb 18, 2026