XWiki Platform Applications Tag and XWiki Platform Tag UI vulnerable to Eval Injection
xwiki · xwiki-platform
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.
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Disclosed on 8 Sep 2022. No public exploit code or confirmed exploitation is recorded.
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
See the family tree7 related vulnerabilities in the same code over 3 years. 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.
- This CVECVE-2022-36100XWiki Platform Applications Tag and XWiki Platform Tag UI…8 Sep 2022
- same family
- same family
- same family
- same family
- same family
relatedMedium
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Same code patched: HqlQueryUtils.java (machine-matched)Functions: HqlQueryUtilscommit 743ebf8commit a45eca2commit 7313dc9commit 7c4087d
Fixes in xwiki-platform-tag-uiMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.
- 14.4CVE-2022-361008 Sep 2022
- 14.4.1CVE-2022-4192723 Nov 2022Latest listed
MITRE ATT&CKA public catalogue of the techniques attackers use, maintained by MITRE. Patchfirst uses it to describe what attackers do with a vulnerability. techniques
No techniques linkedNo 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 OSV2 packages in 1 ecosystem. No single main package: each of these ships the affected code.
- Mavenorg.xwiki.platform:xwiki-platform-tag-uiAffected: 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-tagAffected: 1.7 and laterNo fixed version published