XWiki xwiki-platform
XWiki Platform: Privilege escalation from edit to script right through Live Data editing
XWiki Platform is a generic wiki platform. From 13.4-rc-1 until 16.10.17, 17.4.10, 17.10.4, and 18.1.0-rc-1, the Live Data edit REST API allows a user who can edit a page to change that page's rights without executing the normal document-saving authorization checks. The user can grant script right and then execute potentially dangerous Velocity scripts or send unfiltered HTML and JavaScript to clients. The same missing checks can circumvent extension security controls implemented as listeners for UserUpdatingDocumentEvent and related user document events. This issue is fixed in versions 16.10.17, 17.4.10, 17.10.4, and 18.1.0-rc-1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 13.4-rc-1, < 16.10.17
- >= 17.0.0-rc-1, < 17.4.10
- >= 17.5.0-rc-1, < 17.10.4
- >= 18.0.0-rc-1, < 18.1.0-rc-1
Fixed in 16.10.17, 17.4.10, 17.10.4, 18.1.0-rc-1
Mitigation
Upgrade xwiki-platform to 16.10.17 or 17.4.10 or 17.10.4 or 18.1.0-rc-1 or later.
References
- Vendor advisory github.com/xwiki/xwiki-platform/security/advis…
- Patch github.com/xwiki/xwiki-platform/commit/1ddb954…
- Patch github.com/xwiki/xwiki-platform/commit/448b0f0…
5 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.