Skip to main content
← All vulnerabilities
CVE-2022-36100GHSA-2G5C-228J-P52X

XWiki Platform Applications Tag and XWiki Platform Tag UI vulnerable to Eval Injection

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

Summary

XWiki Platform Applications Tag and XWiki Platform Tag UI are tag applications for XWiki, a generic wiki platform. Starting with version 1.7 in XWiki Platform Applications Tag and prior to 13.10.6 and 14.4 in XWiki Platform Tag UI, the tags document `Main.Tags` in XWiki didn't sanitize user inputs properly. This allowed users with view rights on the document (default in a public wiki or for authenticated users on private wikis) to execute arbitrary Groovy, Python and Velocity code with programming rights. This also allowed bypassing all rights checks and thus both modification and disclosure of all content stored in the XWiki installation. The vulnerability could be used to impact the availability of the wiki. On XWiki versions before 13.10.4 and 14.2, this can be combined with CVE-2022-36092, meaning that no rights are required to perform the attack. The vulnerability has been patched in versions 13.10.6 and 14.4. As a workaround, the patch that fixes the issue can be manually applied to the document `Main.Tags` or the updated version of that document can be imported from version 14.4 of xwiki-platform-tag-ui using the import feature in the administration UI on XWiki 10.9 and later.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · 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

    From 1.7 · fixed in 13.10.6; From 14.0 · fixed in 14.4

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

    fixed in 13.10.6

  • org.xwiki.platform.applications:xwiki-application-tagMaven

    From 1.7

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

    From 14.0 · fixed in 14.4

References 3

GitHub · xwiki/xwiki-platform

jira.xwiki.org