XWiki Platform CSRF remote code execution through scheduler job's document reference
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-scheduler-ui Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-scheduler-ui Maven |
|
|
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.
From the CVE record · GitHub_M
A specially crafted document containing an `XWiki.SchedulerJobClass` XObject can cause the server to execute arbitrary code. Execution occurs when an admin visits the scheduler page or when that page is referenced, such as by an image in a wiki comment. The input does not specify whether creating the document requires authentication.
Operators of XWiki Platform using Maven package `org.xwiki.platform:xwiki-platform-scheduler-ui` versions >=3.1 <14.10.19, >=15.0-rc-1 <15.5.4, or >=15.6-rc-1 <15.9 should check their deployments.