Skip to content

CVE-2023-36469 Code injection through NotificationRSSService in XWiki Platform

HighCVSS 8.8 EPSS 81.9%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-notifications-ui(Maven) >= 9.6-rc-1, < 14.10.6; >= 15.0-rc-1, < 15.2-rc-1 14.10.6, 15.2-rc-1 Fixed
xwiki = 15.0; = 15.0-rc1; = 15.1; = 15.1-rc1 +1 more 14.10.6 Fixed
xwiki-platform = >= 9.6-rc-1, < 14.10.6; = >= 15.0-rc-1, < 15.2-rc-1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-notifications-ui(Maven) >= 9.6-rc-1, < 14.10.6 14.10.6
org.xwiki.platform/xwiki-platform-notifications-ui(Maven) >= 15.0-rc-1, < 15.2-rc-1 15.2-rc-1
xwiki-platform = >= 9.6-rc-1, < 14.10.6 No fix listed
xwiki-platform = >= 15.0-rc-1, < 15.2-rc-1 No fix listed
xwiki >= 9.6, < 14.10.6 14.10.6
xwiki = 15.0 No fix listed
xwiki = 15.0-rc1 No fix listed
xwiki = 15.1 No fix listed
xwiki = 15.1-rc1 No fix listed

References