Vulnerability · Published Apr 18, 2023 · Assigned by GitHub_M

CVE-2023-29521Code injection from account/view through VFS Tree macro in xwiki-platform

High 8.4

In plain English

A high-severity injection 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.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.4High
Exploit odds (30 days)1.1%top 33.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. Any user with view rights can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of `Macro.VFSTreeMacro`. This page is not installed by default.This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.2, 14.4.8, 13.10.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-vfs-ui13.10.11GHSA-p67q-h88v-5jgr
Mavenorg.xwiki.platform:xwiki-platform-vfs-ui14.4.8GHSA-p67q-h88v-5jgr
Mavenorg.xwiki.platform:xwiki-platform-vfs-ui14.10.2GHSA-p67q-h88v-5jgr

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform < 13.10.11>= 14.0.0, < 14.4.8>= 14.5.0, < 14.10.2

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

References