CVE-2023-36469 Code injection through NotificationRSSService in XWiki Platform
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-94pf-92hw-2hjc exploit patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/217e5bb7a657f2991b154a16ef4d5ae9c29ad39c patch
- https://jira.xwiki.org/browse/XWIKI-20610 exploit issue-tracking patch vendor-advisory
- github.com
- github.com product