CVE-2023-40572

Critical

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.

SeverityCritical
CVSS9.0
Exploit probability—
ProductXwiki
PublishedAug 24, 2023
First seenAug 24, 2023

How to fix

Update
  • xwiki xwiki14.10.9 or later
  • org.xwiki.platform:xwiki-platform-oldcore14.10.9, 15.4-rc-1 or later

Affected products

ProductAffected versionsFixed in
xwiki xwikiv < 14.10.9, 15.0, 15.1, 15.2, 15.314.10.9
org.xwiki.platform:xwiki-platform-oldcoreMaven3.2-milestone-3 ≤ v < 14.10.9, 15.0-rc-1 ≤ v < 15.4-rc-114.10.9, 15.4-rc-1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.