Vulnerability · Published Nov 6, 2023 · Assigned by GitHub_M

CVE-2023-46731Remote code execution through the section parameter in Administration as guest in XWiki Platform

Critical 10.0

In plain English

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

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)88.5%top 0.2% 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. XWiki doesn't properly escape the section URL parameter that is used in the code for displaying administration sections. This allows any user with read access to the document `XWiki.AdminSheet` (by default, everyone including unauthenticated users) to execute code including Groovy code. This impacts the confidentiality, integrity and availability of the whole XWiki instance. This vulnerability has been patched in XWiki 14.10.14, 15.6 RC1 and 15.5.1. Users are advised to upgrade. Users unablr to upgrade may apply the fix in commit `fec8e0e53f9` manually. Alternatively, to protect against attacks from unauthenticated users, view right for guests can be removed from this document (it is only needed for space and wiki admins).

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-administration14.10.14GHSA-62pr-qqf7-hh89
Mavenorg.xwiki.platform:xwiki-platform-administration-ui14.10.14GHSA-62pr-qqf7-hh89
Mavenorg.xwiki.platform:xwiki-platform-administration-ui15.5.1GHSA-62pr-qqf7-hh89

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform org.xwiki.platform:xwiki-platform-administration : < 14.10.14org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14org.xwiki.platform:xwiki-platform-administration-ui: >= 15.0-rc-1, < 15.5.1

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

References