CVE-2023-29512 Code injection in xwiki-platform-web-templates
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.platform/xwiki-platform-web-templates(Maven) | >= 1.0B1, < 13.10.11; >= 14.0-rc-1, < 14.4.8; >= 14.5, < 14.10.1 | 13.10.11, 14.4.8, 14.10.1 | Fixed |
| xwiki | < 13.10.11; >= 14.0, < 14.4.8; >= 14.5, < 14.10.1 | 13.10.11, 14.4.8, 14.10.1 | Fixed |
| xwiki-platform | = < 13.10.11; = >= 14.0.0, < 14.4.8; = >= 14.5.0, < 14.10.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform/xwiki-platform-web-templates(Maven) | >= 1.0B1, < 13.10.11 | 13.10.11 |
| org.xwiki.platform/xwiki-platform-web-templates(Maven) | >= 14.0-rc-1, < 14.4.8 | 14.4.8 |
| org.xwiki.platform/xwiki-platform-web-templates(Maven) | >= 14.5, < 14.10.1 | 14.10.1 |
| xwiki-platform | = < 13.10.11 | No fix listed |
| xwiki-platform | = >= 14.0.0, < 14.4.8 | No fix listed |
| xwiki-platform | = >= 14.5.0, < 14.10.1 | No fix listed |
| xwiki | < 13.10.11 | 13.10.11 |
| xwiki | >= 14.0, < 14.4.8 | 14.4.8 |
| xwiki | >= 14.5, < 14.10.1 | 14.10.1 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-hg5x-3w3x-7g96 exploit patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/e4bbdc23fea0be4ef1921d1a58648028ce753344 patch
- https://jira.xwiki.org/browse/XWIKI-20267 exploit issue-tracking patch vendor-advisory
- github.com
- github.com product