Patchfirst
CVE-2022-36100 Critical · 9.9 EPSS 73.6%

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

xwiki · xwiki-platform

Summary

The XWiki Platform Tag UI and XWiki Platform Applications Tag (starting from version 1.7 and prior to 13.10.6 and 14.4 for Tag UI) contain an eval injection flaw in the Main.Tags document, where user input is not properly sanitised. An attacker with view rights on that document, which is granted by default on public wikis and to authenticated users on private ones, can execute arbitrary Groovy, Python and Velocity code with programming rights, bypassing rights checks to read or modify any content and potentially disrupt the wiki's availability, with no user interaction required.

Official description · CVE.org

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.

Breakdown
26.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 8 Sep 2022. No public exploit code or confirmed exploitation is recorded.

See the family tree

3 related vulnerabilities in the same code over 10 months. The latest fix listed for xwiki-platform-tag-ui is 14.4.1.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2022-36100XWiki Platform Applications Tag and XWiki Platform Tag UI…8 Sep 2022
  2. relatedHigh

    Why these are linked:

    • Fixed one release later13.10.6 → 13.10.7 (org.xwiki.platform:xwiki-platform-tag-ui)
    • Fixed one release later14.4 → 14.4.1 (org.xwiki.platform:xwiki-platform-tag-ui)
    • Same code patched: Tags.xml (machine-matched)commit 6048680commit 7fd4cda
    CVE-2022-41927XWiki Platform vulnerable to Cross-Site Request Forgery (CSRF)…23 Nov 2022
  3. same family
    CVE-2023-36468Upgrading doesn't prevent exploiting vulnerable XWiki documents29 Jun 2023

Fixes in xwiki-platform-tag-uiMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 14.4CVE-2022-361008 Sep 2022
  2. 14.4.1CVE-2022-4192723 Nov 2022Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Mavenorg.xwiki.platform:xwiki-platform-tag-ui
    Affected: 14.0 up to 14.4; All versions before 13.10.6Upgrade to 14.4 or later (older lines: 13.10.6)
  • Mavenorg.xwiki.platform.applications:xwiki-application-tag
    Affected: 1.7 and laterNo fixed version published

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close