Skip to main content
← All vulnerabilities
CVE-2023-46243GHSA-G2QQ-C5J9-5W5W

Code execution via the edit action in XWiki platform

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 14.10.6, 15.2-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. In affected versions it's possible for a user to execute any content with the right of an existing document's content author, provided the user have edit right on it. A crafted URL of the form ` /xwiki/bin/edit//?content=%7B%7Bgroovy%7D%7Dprintln%28%22Hello+from+Groovy%21%22%29%7B%7B%2Fgroovy%7D%7D&xpage=view` can be used to execute arbitrary groovy code on the server. This vulnerability has been patched in XWiki versions 14.10.6 and 15.2RC1. Users are advised to update. There are no known workarounds for this issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • xwiki xwiki-platform

    From 1.0 · fixed in 14.10.6

  • org.xwiki.platform:xwiki-platform-oldcoreMaven

    From 15.0 · fixed in 15.2-rc-1

  • org.xwiki.platform:xwiki-platform-oldcoreMaven

    From 1.0 · fixed in 14.10.6

References 3

GitHub · xwiki/xwiki-platform

jira.xwiki.org