Vulnerability · Published Apr 16, 2023 · Assigned by GitHub_M
CVE-2023-29211org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki Eval Injection vulnerability
Critical 10.0
In plain English
A critical-severity security flaw 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 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Commons are technical libraries common to several other top level XWiki projects. Any user with view rights `WikiManager.DeleteWiki` can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the `wikiId` url parameter. The problem has been patched on XWiki 13.10.11, 14.4.7, and 14.10.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki | 13.10.11 | GHSA-w7v9-fc49-4qg4 |
| Maven | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki | 14.4.7 | GHSA-w7v9-fc49-4qg4 |
| Maven | org.xwiki.platform:xwiki-platform-wiki-ui-mainwiki | 14.10 | GHSA-w7v9-fc49-4qg4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 5.3-milestone-2, < 13.10.11>= 14.0-rc-1, < 14.4.7>= 14.5, < 14.10 |
Weakness: CWE-95 · 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-w7v9-fc49-4qg4 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/ba4c76265b0b8a5e2218be400d18f08393fe1428#diff-64f39f5f2cc8c6560a44e21a5cfd509ef00e8a2157cd9847c9940a2e08ea43d1R63-R64 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20297 x_refsource_MISC