CVE-2023-29527
JSON

10.0critical

Code injection from account through AWM view sheet in xwiki platform

Severity
10.0critical CVSS:3.1 by GitHub_M
Exploit likelihood
1.09% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jgrg-qvpp-9vwr

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions a user without script or programming right may edit a user profile (or any other document) with the wiki editor and add groovy script content. Viewing the document after saving it will execute the groovy script in the server context which provides code execution. This vulnerability has been patched in XWiki 15.0-rc-1 and 14.10.3. Users are advised to upgrade. There are no known workarounds for this issue.

Affected

Product or packageVersionsReported by
xwiki xwiki-platform>= 7.4.4, < 14.10.3CVE List
org.xwiki.platform:xwiki-platform-appwithinminutes-ui (Maven)from 7.4.4 before 14.10.3GitHub Advisory Database
xwiki xwikifrom 7.4.4 before 14.10.3NVD

All scores

GitHub_M10.0critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-74

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions a user without script or programming right may edit a user profile (or any other document) with the wiki editor and add groovy script content. Viewing the document after saving it will execute the groovy script in the server context which provides code execution. This vulnerability has been patched in XWiki 15.0-rc-1 and 14.10.3. Users are advised to upgrade. There are no known workarounds for this issue.

GitHub Advisory Database
Impact

Steps to reproduce:

  1. As a user without script or programming right, edit your user profile (or any other document) with the wiki editor and add the content {{groovy}}println("Hello " + "from Groovy!"){{/groovy}}
  2. Edit the document with the object editor and add an object of type AppWithinMinutes.LiveTableClass (no values need to be set, just save)
  3. View the document
Patches

The vulnerability has been patched in XWiki 15.0-rc-1 and 14.10.3.

Workarounds

There is no known workaround.

References

https://jira.xwiki.org/browse/XWIKI-20423

For more information

If you have any questions or comments about this advisory:

References

Sources

SourceRecordLicence
CVE ListCVE-2023-29527 changed 2025-02-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-jgrg-qvpp-9vwr changed 2023-11-08CC-BY-4.0
NVDCVE-2023-29527 changed 2026-06-17Public domain