CVE-2024-31988: XWiki Platform CSRF remote code execution through the realtime HTML Converter API
When the realtime editor is installed in XWiki, it allows arbitrary remote code execution with the interaction of an admin user with programming right. More precisely, by getting an admin user to either visit a crafted URL or to view an image with this URL that could be in a comment, the attacker can get the admin to execute arbitrary XWiki syntax including scripting macros with Groovy or Python code. This compromises the confidentiality, integrity and availability of the whole XWiki installation.
References
- github.com/advisories/GHSA-r5vh-gc3r-r24w
- github.com/xwiki/xwiki-platform
- github.com/xwiki/xwiki-platform/commit/4896712ee6483da623f131be2e618f1f2b79cb8d
- github.com/xwiki/xwiki-platform/commit/9f8cc88497418750b09ce9fde5d67d840f038fbf
- github.com/xwiki/xwiki-platform/commit/d88da4572fb7d4f95e1f54bb0cce33fce3df08d9
- github.com/xwiki/xwiki-platform/commit/d9f5043da289ff106f08e23576746fd8baf98794
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-r5vh-gc3r-r24w
- jira.xwiki.org/browse/XWIKI-21424
- nvd.nist.gov/vuln/detail/CVE-2024-31988
Detect and mitigate CVE-2024-31988 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →