Vulnerability · Published Oct 25, 2023 · Assigned by GitHub_M

CVE-2023-37909Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet

Critical 10.0

In plain English

A critical-severity security flaw in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)1.9%top 20.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Starting in version 5.1-rc-1 and prior to versions 14.10.8 and 15.3-rc-1, any user who can edit their own user profile can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This has been patched in XWiki 14.10.8 and 15.3-rc-1 by adding proper escaping. As a workaround, the patch can be manually applied to the document `Menu.UIExtensionSheet`; only three lines need to be changed.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-menu14.10.8GHSA-v2rr-xw95-wcjx
Mavenorg.xwiki.platform:xwiki-platform-menu-ui14.10.8GHSA-v2rr-xw95-wcjx
Mavenorg.xwiki.platform:xwiki-platform-menu-ui15.3-rc-1GHSA-v2rr-xw95-wcjx

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform >= 5.1-rc-1, < 14.10.8>= 15.0-rc-1, < 15.3-rc-1

Weakness: CWE-95 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

References