Skip to main content
← All vulnerabilities
CVE-2023-40573GHSA-8XHR-X3V8-RGHJ

XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 14.10.9, 15.4-rc-1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki supports scheduled jobs that contain Groovy scripts. Currently, the job checks the content author of the job for programming right. However, modifying or adding a job script to a document doesn't modify the content author. Together with a CSRF vulnerability in the job scheduler, this can be exploited for remote code execution by an attacker with edit right on the wiki. If the attack is successful, an error log entry with "Job content executed" will be produced. This vulnerability has been patched in XWiki 14.10.9 and 15.4RC1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • xwiki xwiki-platform

    fixed in 14.10.9; From 1.3; From 15.0-rc-1 · fixed in 15.4-rc-1

  • org.xwiki.platform:xwiki-platform-scheduler-apiMaven

    fixed in 14.10.9

  • com.xpn.xwiki.platform.plugins:xwiki-plugin-schedulerMaven

    From 1.3

  • org.xwiki.platform:xwiki-platform-scheduler-apiMaven

    From 15.0-rc-1 · fixed in 15.4-rc-1

References 3

GitHub · xwiki/xwiki-platform

jira.xwiki.org