Vulnerability · Published Apr 10, 2024 · Assigned by GitHub_M

CVE-2024-31997XWiki Platform remote code execution from account through UIExtension parameters

Critical 10.0

In plain English

A critical-severity missing authorization 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 73.9% (higher than 99.5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official description

XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-uiextension-api14.10.19GHSA-c2gg-4gq4-jv5j
Mavenorg.xwiki.platform:xwiki-platform-uiextension-api15.5.4GHSA-c2gg-4gq4-jv5j
Mavenorg.xwiki.platform:xwiki-platform-uiextension-api15.9-rc-1GHSA-c2gg-4gq4-jv5j

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform < 14.10.19>= 15.0-rc-1, < 15.5.4>= 15.6-rc-1, < 15.9-rc-1

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

References