Skip to content
OpenAdvisories
Critical · 9.1 CVE-2024-31986 EUVD-2024-1076GHSA-37m4-hqxv-w26g

XWiki Platform CSRF remote code execution through scheduler job's document reference

Published Apr 10, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

Description

XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, by creating a document with a special crafted documented reference and an `XWiki.SchedulerJobClass` XObject, it is possible to execute arbitrary code on the server whenever an admin visits the scheduler page or the scheduler page is referenced, e.g., via an image in a comment on a page in the wiki. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9. As a workaround, apply the patch manually by modifying the `Scheduler.WebHome` page.

Affected products

VendorProductAffectedFixed
xwiki xwiki-platform >= 3.1, < 14.10.19, >= 15.0-rc-1, < 15.5.4, >= 15.6-rc-1, < 15.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-scheduler-ui >= 3.1, < 14.10.19 14.10.19 GHSA-37m4-hqxv-w26g
Maven org.xwiki.platform:xwiki-platform-scheduler-ui >= 15.0-rc-1, < 15.5.4 15.5.4 GHSA-37m4-hqxv-w26g
Maven org.xwiki.platform:xwiki-platform-scheduler-ui >= 15.6-rc-1, < 15.9 15.9 GHSA-37m4-hqxv-w26g

References