{"id":"CVE-2024-31986","published":"2024-04-10T20:27:29Z","modified":"2024-08-02T01:59:50Z","title":"XWiki Platform CSRF remote code execution through scheduler job's document reference","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00549,"percentile":0.45982,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"},{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-37m4-hqxv-w26g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/8a92cb4bef7e5f244ae81eed3e64fe9be95827cf","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/efd3570f3e5e944ec0ad0899bf799bf9563aef87","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/f30d9c641750a3f034b5910c6a3a7724ae8f2269","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21416","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":9.2},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 3.1, < 14.10.19",">= 15.0-rc-1, < 15.5.4",">= 15.6-rc-1, < 15.9"]}],"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-scheduler-ui","vulnerableRanges":[">=3.1, <14.10.19",">=15.0-rc-1, <15.5.4",">=15.6-rc-1, <15.9"],"patched":["14.10.19","15.5.4","15.9"],"from":["GHSA-37m4-hqxv-w26g"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1076","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-29524","published":"2023-04-18","fixed":"14.10.3","kev":false,"link":{"from":"CVE-2023-29524","to":"CVE-2024-31986","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-scheduler-ui","fromFixed":"14.10.3","toFixed":"14.10.19","daysApart":358}]}},{"cve":"CVE-2024-31985","published":"2024-04-10","fixed":"15.9","kev":false},{"cve":"CVE-2024-31986","published":"2024-04-10","fixed":"15.9","kev":false},{"cve":"CVE-2024-55876","published":"2024-12-12","fixed":"16.3.0","kev":false,"link":{"from":"CVE-2024-31986","to":"CVE-2024-55876","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.xwiki.platform:xwiki-platform-scheduler-ui","fromFixed":"15.9","toFixed":"15.10.9","daysApart":246}]}}],"package":"Maven:org.xwiki.platform:xwiki-platform-scheduler-ui"}}