CVE-2023-37462

published 14 Jul 2023 · updated 30 Oct 2024

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui

10.0CriticalCVSS 10.0EPSS 92%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 92%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
XWikixwiki-platform>=14.5 <14.10.4, >=7.0-rc-1 <14.4.8

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in XWiki, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-37462 severity on Zeptric[![CVE-2023-37462](https://zeptric.io/badge/cve/CVE-2023-37462.svg)](https://zeptric.io/cve/CVE-2023-37462)