Skip to main content
← All vulnerabilities
CVE-2023-46731GHSA-62PR-QQF7-HH89

Remote code execution through the section parameter in Administration as guest in XWiki Platform

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 14.10.14, 15.5.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki doesn't properly escape the section URL parameter that is used in the code for displaying administration sections. This allows any user with read access to the document `XWiki.AdminSheet` (by default, everyone including unauthenticated users) to execute code including Groovy code. This impacts the confidentiality, integrity and availability of the whole XWiki instance. This vulnerability has been patched in XWiki 14.10.14, 15.6 RC1 and 15.5.1. Users are advised to upgrade. Users unablr to upgrade may apply the fix in commit `fec8e0e53f9` manually. Alternatively, to protect against attacks from unauthenticated users, view right for guests can be removed from this document (it is only needed for space and wiki admins).

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • xwiki xwiki-platform

    org.xwiki.platform:xwiki-platform-administration : < 14.10.14, org.xwiki.platform:xwiki-platform-administration-ui: < 14.10.14

  • org.xwiki.platform:xwiki-platform-administration-uiMaven

    fixed in 14.10.14

  • org.xwiki.platform:xwiki-platform-administration-uiMaven

    From 15.0-rc-1 · fixed in 15.5.1

  • org.xwiki.platform:xwiki-platform-administrationMaven

    fixed in 14.10.14

References 4

GitHub · xwiki/xwiki-platform

jira.xwiki.org