CSRF in Xwiki
CVE-2023-40572
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
EPSS: 0.005 (42.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
Affected products
- Xwiki — versions 15.0, 15.1, 15.2
- Xwiki Xwiki-platform — versions >= 3.2-milestone-3, < 14.10.9, >= 15.0-rc-1, < 15.4-rc-1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Exploit, x_refsource_MISC, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2023-40572?
- CVE-2023-40572 is a critical-severity vulnerability in Xwiki, classified under Cross-Site Request Forgery (CSRF). CVSS score: 9.0/10. Published 2023-08-24.
- How severe is CVE-2023-40572?
- Critical severity. CVSS v3 base score is 9.0 out of 10.
- Is CVE-2023-40572 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.