CVE-2023-37462

Critical

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Improper escaping in the document `SkinsCode.XWikiSkinsSheet` leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit `d9c88ddc` can also be applied manually to the impacted document `SkinsCode.XWikiSkinsSheet` and users unable to upgrade are advised to manually patch their installations.

SeverityCritical
CVSS9.9
Exploit probability—
ProductXwiki
PublishedJul 14, 2023
First seenJul 14, 2023

How to fix

Update
  • xwiki xwiki14.4.8, 14.10.4 or later
  • org.xwiki.platform:xwiki-platform-skin-ui14.4.8, 14.10.4 or later

Affected products

ProductAffected versionsFixed in
xwiki xwiki7.0 ≤ v < 14.4.8, 14.5 ≤ v < 14.10.414.4.8, 14.10.4
org.xwiki.platform:xwiki-platform-skin-uiMaven7.0-rc-1 ≤ v < 14.4.8, 14.5 ≤ v < 14.10.414.4.8, 14.10.4

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.