Skip to content
OpenAdvisories
Critical · 10.0 CVE-2023-36469 EUVD-2023-1757GHSA-94pf-92hw-2hjc

Code injection through NotificationRSSService in XWiki Platform

Published Jun 29, 2023 · Updated Nov 26, 2024 · Assigned by GitHub_M

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user who can edit their own user profile and notification settings can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This has been patched in XWiki 14.10.6 and 15.2RC1. Users are advised to update. As a workaround the main security fix can be manually applied by patching the affected document `XWiki.Notifications.Code.NotificationRSSService`. This will break the link to the differences, though as this requires additional changes to Velocity templates as shown in the patch. While the default template is available in the instance and can be easily patched, the template for mentions is contained in a `.jar`-file and thus cannot be fixed without replacing that jar.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform >= 9.6-rc-1, < 14.10.6, >= 15.0-rc-1, < 15.2-rc-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-notifications-ui >= 9.6-rc-1, < 14.10.6 14.10.6 GHSA-94pf-92hw-2hjc
Maven org.xwiki.platform:xwiki-platform-notifications-ui >= 15.0-rc-1, < 15.2-rc-1 15.2-rc-1 GHSA-94pf-92hw-2hjc

References