Vulnerability · Published Apr 18, 2023 · Assigned by GitHub_M

CVE-2023-29525Privilege escalation from view right on XWiki.Notifications.Code.LegacyNotificationAdministration in xwiki-platform

Critical 10.0

In plain English

A critical-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 77.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)77.8%top 0.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. Affected versions of xwiki are subject to code injection in the `since` parameter of the `/xwiki/bin/view/XWiki/Notifications/Code/LegacyNotificationAdministration` endpoint. This provides an XWiki syntax injection attack via the since-parameter, allowing privilege escalation from view to programming rights and subsequent code execution privilege. The vulnerability has been patched in XWiki 15.0-rc-1, 14.10.3, 14.4.8 and 14.10.3. Users are advised to upgrade. Users unable to upgrade may modify the page `XWiki.Notifications.Code.LegacyNotificationAdministration` to add the missing escaping. For versions < 14.6-rc-1 a workaround is to modify the file `<xwikiwebapp>/templates/distribution/eventmigration.wiki` to add the missing escaping.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-distribution-war13.10.11GHSA-jgg7-w2rj-58cj
Mavenorg.xwiki.platform:xwiki-platform-distribution-war14.4.8GHSA-jgg7-w2rj-58cj
Mavenorg.xwiki.platform:xwiki-platform-distribution-war14.6-rc-1GHSA-jgg7-w2rj-58cj
Mavenorg.xwiki.platform:xwiki-platform-legacy-events-hibernate-ui14.10.3GHSA-jgg7-w2rj-58cj

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform < 14.4.8>= 14.5.0, < 14.10.3.

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

References