{"id":"CVE-2023-40573","published":"2023-08-24T01:31:14Z","modified":"2024-10-03T16:21:16Z","title":"XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki supports scheduled jobs that contain Groovy scripts. Currently, the job checks the content author of the job for programming right. However, modifying or adding a job script to a document doesn't modify the content author. Together with a CSRF vulnerability in the job scheduler, this can be exploited for remote code execution by an attacker with edit right on the wiki. If the attack is successful, an error log entry with \"Job content executed\" will be produced. This vulnerability has been patched in XWiki 14.10.9 and 15.4RC1.","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.01081,"percentile":0.66005,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-8xhr-x3v8-rghj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/fcdcfed3fe2e8a3cad66ae0610795a2d58ab9662","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20852","tags":["x_refsource_MISC"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":13.2},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":["< 14.10.9",">= 1.3",">= 15.0-rc-1, < 15.4-rc-1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-10-03T16:19:41.951161Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-scheduler-api","vulnerableRanges":["<14.10.9",">=15.0-rc-1, <15.4-rc-1"],"patched":["14.10.9","15.4-rc-1"],"from":["GHSA-8xhr-x3v8-rghj"],"provenance":"source"},{"ecosystem":"Maven","package":"com.xpn.xwiki.platform.plugins:xwiki-plugin-scheduler","vulnerableRanges":[">=1.3"],"patched":[],"from":["GHSA-8xhr-x3v8-rghj"],"provenance":"source"}],"summary":{"text":"The XWiki Platform (xwiki-platform) scheduled-jobs component runs Groovy scripts but checks the wrong content author for programming rights, because editing or adding a job script does not change the recorded author. An attacker who has edit rights on the wiki can, by exploiting this together with a CSRF weakness in the job scheduler and with a user interacting with the scheduler, achieve remote code execution, and a successful attack leaves a \"Job content executed\" entry in the error log.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:32Z"},"euvd":{"id":"EUVD-2023-2250","exploited":false,"provenance":"source"}}