Vulnerability · Published Apr 18, 2023 · Assigned by GitHub_M
CVE-2023-29512Code injection in xwiki-platform-web-templates
Critical 9.9
In plain English
A critical-severity 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 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with edit rights on a page (e.g., it's own user page), 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 information loaded from attachments in `imported.vm`, `importinline.vm`, and `packagelist.vm`. This page is installed by default. This vulnerability has been patched in XWiki 15.0-rc-1, 14.10.1, 14.4.8, and 13.10.11. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-web-templates | 13.10.11 | GHSA-hg5x-3w3x-7g96 |
| Maven | org.xwiki.platform:xwiki-platform-web-templates | 14.4.8 | GHSA-hg5x-3w3x-7g96 |
| Maven | org.xwiki.platform:xwiki-platform-web-templates | 14.10.1 | GHSA-hg5x-3w3x-7g96 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | < 13.10.11>= 14.0.0, < 14.4.8>= 14.5.0, < 14.10.1 |
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-hg5x-3w3x-7g96 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/e4bbdc23fea0be4ef1921d1a58648028ce753344 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-20267 x_refsource_MISC