CVE-2024-31987 XWiki Platform remote code execution from account via custom skins support
HighCVSS 8.8
EPSS 1.4%
- 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. Starting in version 6.4-milestone-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, any user who can edit any page like their profile can create a custom skin with a template override that is executed with programming right, thus allowing remote code execution. This has been patched in XWiki 14.10.19, 15.5.4 and 15.10RC1. No known workarounds are available except for upgrading.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.platform/xwiki-platform-oldcore(Maven) | >= 6.4-milestone-1, < 14.10.19; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.10-rc-1 | 14.10.19, 15.5.4, 15.10-rc-1 | Fixed |
| xwiki | >= 6.4, < 14.10.19; >= 15.0, < 15.5.4; >= 15.6, < 15.10 | 14.10.19, 15.5.4, 15.10 | Fixed |
| xwiki-platform | = >= 6.4-milestone-1, < 14.10.19; = >= 15.0-rc-1, < 15.5.4; = >= 15.6-rc-1, < 15.10-rc-1; >= 6.4-milestone-1, < 14.10.19 +2 more | 14.10.19, 15.5.4, 15.10-rc-1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform/xwiki-platform-oldcore(Maven) | >= 6.4-milestone-1, < 14.10.19 | 14.10.19 |
| org.xwiki.platform/xwiki-platform-oldcore(Maven) | >= 15.0-rc-1, < 15.5.4 | 15.5.4 |
| org.xwiki.platform/xwiki-platform-oldcore(Maven) | >= 15.6-rc-1, < 15.10-rc-1 | 15.10-rc-1 |
| xwiki-platform | = >= 6.4-milestone-1, < 14.10.19 | No fix listed |
| xwiki-platform | = >= 15.0-rc-1, < 15.5.4 | No fix listed |
| xwiki-platform | = >= 15.6-rc-1, < 15.10-rc-1 | No fix listed |
| xwiki-platform | >= 6.4-milestone-1, < 14.10.19 | 14.10.19 |
| xwiki-platform | >= 15.0-rc-1, < 15.5.4 | 15.5.4 |
| xwiki-platform | >= 15.6-rc-1, < 15.10-rc-1 | 15.10-rc-1 |
| xwiki | >= 6.4, < 14.10.19 | 14.10.19 |
| xwiki | >= 15.0, < 15.5.4 | 15.5.4 |
| xwiki | >= 15.6, < 15.10 | 15.10 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cv55-v6rw-7r5v exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/3d4dbb41f52d1a6e39835cfb1695ca6668605a39 patch
- https://github.com/xwiki/xwiki-platform/commit/626d2a5dbf95b4e719ae13bf1a0a9c76e4edd5a2 patch
- https://github.com/xwiki/xwiki-platform/commit/da177c3c972e797d92c1a31e278f946012c41b56 patch
- github.com product
- https://jira.xwiki.org/browse/XWIKI-21478 exploit vendor-advisory
- github.com