{"id":"CVE-2023-40572","state":"PUBLISHED","title":"XWiki Platform vulnerable to CSRF privilege escalation/RCE via the create action","description":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The create action is vulnerable to a CSRF attack, allowing script and thus remote code execution when targeting a user with script/programming right, thus compromising the confidentiality, integrity and availability of the whole XWiki installation. When a user with script right views this image and a log message `ERROR foo - Script executed!` appears in the log, the XWiki installation is vulnerable. This has been patched in XWiki 14.10.9 and 15.4RC1 by requiring a CSRF token for the actual page creation.","publishedAt":"2023-08-24T01:15:33.272Z","updatedAt":"2024-10-02T20:19:27.637Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["xwiki xwiki-platform"],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":">= 3.2-milestone-3, < 14.10.9","status":"affected"},{"version":">= 15.0-rc-1, < 15.4-rc-1","status":"affected"}]}],"references":["https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m","https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7","https://jira.xwiki.org/browse/XWIKI-20849"],"weaknesses":["CWE-352"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/40xxx/CVE-2023-40572.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-40572","state":"PUBLISHED","datePublished":"2023-08-24T01:15:33.272Z","dateUpdated":"2024-10-02T20:19:27.637Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-08-16T18:24:02.390Z"},"containers":{"cna":{"title":"XWiki Platform vulnerable to CSRF privilege escalation/RCE via the create action","descriptions":[{"lang":"en","value":"XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. The create action is vulnerable to a CSRF attack, allowing script and thus remote code execution when targeting a user with script/programming right, thus compromising the confidentiality, integrity and availability of the whole XWiki installation. When a user with script right views this image and a log message `ERROR foo - Script executed!` appears in the log, the XWiki installation is vulnerable. This has been patched in XWiki 14.10.9 and 15.4RC1 by requiring a CSRF token for the actual page creation."}],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":">= 3.2-milestone-3, < 14.10.9","status":"affected"},{"version":">= 15.0-rc-1, < 15.4-rc-1","status":"affected"}]}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7","name":"https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20849","name":"https://jira.xwiki.org/browse/XWIKI-20849","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-08-24T01:15:33.272Z"},"source":{"advisory":"GHSA-4f8m-7h83-9f6m","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-4f8m-7h83-9f6m","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7","name":"https://github.com/xwiki/xwiki-platform/commit/4b20528808d0c311290b0d9ab2cfc44063380ef7","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://jira.xwiki.org/browse/XWIKI-20849","name":"https://jira.xwiki.org/browse/XWIKI-20849","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T18:38:51.000Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-02T20:18:17.614497Z","id":"CVE-2023-40572","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-02T20:19:27.637Z"}}]}}}