Vulnerability · Published Dec 15, 2023 · Assigned by GitHub_M

CVE-2023-50721XWiki Platform RCE from account through SearchAdmin

Critical 10.0

In plain English

A critical-severity code injection in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 78.8% (higher than 99.6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)78.8%top 0.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

XWiki Platform is a generic wiki platform. Starting in 4.5-rc-1 and prior to versions 14.10.15, 15.5.2, and 15.7-rc-1, the search administration interface doesn't properly escape the id and label of search user interface extensions, allowing the injection of XWiki syntax containing script macros including Groovy macros that allow remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki instance. This attack can be executed by any user who can edit some wiki page like the user's profile (editable by default) as user interface extensions that will be displayed in the search administration can be added on any document by any user. The necessary escaping has been added in XWiki 14.10.15, 15.5.2 and 15.7RC1. As a workaround, the patch can be applied manually applied to the page `XWiki.SearchAdmin`.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-search-ui14.10.15GHSA-7654-vfh6-rw6x
Mavenorg.xwiki.platform:xwiki-platform-search-ui15.5.2GHSA-7654-vfh6-rw6x
Mavenorg.xwiki.platform:xwiki-platform-search-ui15.7-rc-1GHSA-7654-vfh6-rw6x

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform >= 4.5-rc-1, < 14.10.15>= 15.0-rc-1, < 15.5.2>= 15.6-rc-1, < 15.7-rc-1

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

References