Vulnerability · Published Sep 8, 2022 · Assigned by GitHub_M
CVE-2022-36100XWiki Platform Applications Tag and XWiki Platform Tag UI vulnerable to Eval Injection
Critical 9.9
In plain English
A critical-severity code injection in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 73.6% (higher than 99.5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform.applications:xwiki-application-tag | no fix listed | GHSA-2g5c-228j-p52x |
| Maven | org.xwiki.platform:xwiki-platform-tag-ui | 13.10.6 | GHSA-2g5c-228j-p52x |
| Maven | org.xwiki.platform:xwiki-platform-tag-ui | 14.4 | GHSA-2g5c-228j-p52x |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 1.7, < 13.10.6>= 14.0, < 14.4 |
Weakness: CWE-95, CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2g5c-228j-p52x x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/604868033ebd191cf2d1e94db336f0c4d9096427 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-19747 x_refsource_MISC