CVE-2023-37462 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-ui
- 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. Improper escaping in the document SkinsCode.XWikiSkinsSheet leads to an injection vector from view right on that document to programming rights, or in other words, it is possible to execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The attack works by opening a non-existing page with a name crafted to contain a dangerous payload. It is possible to check if an existing installation is vulnerable. See the linked GHSA for instructions on testing an installation. This issue has been patched in XWiki 14.4.8, 14.10.4 and 15.0-rc-1. Users are advised to upgrade. The fix commit d9c88ddc can also be applied manually to the impacted document SkinsCode.XWikiSkinsSheet and users unable to upgrade are advised to manually patch their installations.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.platform/xwiki-platform-skin-ui(Maven) | >= 7.0-rc-1, < 14.4.8; >= 14.5, < 14.10.4 | 14.4.8, 14.10.4 | Fixed |
| xwiki | >= 7.0, < 14.4.8; >= 14.5, < 14.10.4 | 14.4.8, 14.10.4 | Fixed |
| xwiki-platform | = >= 7.0-rc-1, < 14.4.8; = >= 14.5, < 14.10.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform/xwiki-platform-skin-ui(Maven) | >= 7.0-rc-1, < 14.4.8 | 14.4.8 |
| org.xwiki.platform/xwiki-platform-skin-ui(Maven) | >= 14.5, < 14.10.4 | 14.10.4 |
| xwiki-platform | = >= 7.0-rc-1, < 14.4.8 | No fix listed |
| xwiki-platform | = >= 14.5, < 14.10.4 | No fix listed |
| xwiki | >= 7.0, < 14.4.8 | 14.4.8 |
| xwiki | >= 14.5, < 14.10.4 | 14.10.4 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h4vp-69r8-gvjg exploit issue-tracking patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/d9c88ddc4c0c78fa534bd33237e95dea66003d29 patch
- https://jira.xwiki.org/browse/XWIKI-20457 exploit issue-tracking vendor-advisory
- github.com
- github.com product