CVE-2023-37462

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*

History

27 Jul 2023, 03:49

Type Values Removed Values Added
First Time Xwiki
Xwiki xwiki
CPE cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
References (MISC) https://github.com/xwiki/xwiki-platform/commit/d9c88ddc4c0c78fa534bd33237e95dea66003d29 - (MISC) https://github.com/xwiki/xwiki-platform/commit/d9c88ddc4c0c78fa534bd33237e95dea66003d29 - Patch
References (MISC) https://jira.xwiki.org/browse/XWIKI-20457 - (MISC) https://jira.xwiki.org/browse/XWIKI-20457 - Exploit, Issue Tracking, Vendor Advisory
References (MISC) https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg - (MISC) https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg - Exploit, Issue Tracking, Patch, Vendor Advisory

14 Jul 2023, 21:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-07-14 21:15

Updated : 2024-02-28 20:33


NVD link : CVE-2023-37462

Mitre link : CVE-2023-37462

CVE.ORG link : CVE-2023-37462


JSON object : View

Products Affected

xwiki

  • xwiki
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')