Skip to main content
← All vulnerabilities
CVE-2022-41931GHSA-5J7G-CF6R-G2H7

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in xwiki-platform-icon-ui

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

Summary

xwiki-platform-icon-ui is vulnerable to Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection'). Any user with view rights on commonly accessible documents including the icon picker macro can execute arbitrary Groovy, Python or Velocity code in XWiki due to improper neutralization of the macro parameters of the icon picker macro. The problem has been patched in XWiki 13.10.7, 14.5 and 14.4.2. Workarounds: The patch can be manually applied by editing `IconThemesCode.IconPickerMacro` in the object editor. The whole document can also be replaced by the current version by importing the document from the XAR archive of a fixed version as the only changes to the document have been security fixes and small formatting changes.

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 6.4-milestone-2 · fixed in 13.10.7; From 14.0.0 · fixed in 14.4.2

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

    From 6.4-milestone-2 · fixed in 13.10.7

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

    From 14.0.0 · fixed in 14.4.2

References 3

GitHub · xwiki/xwiki-platform

jira.xwiki.org