Vulnerability · Published Apr 10, 2024 · Assigned by GitHub_M
CVE-2024-31987XWiki Platform remote code execution from account via custom skins support
Critical 10.0
In plain English
A critical-severity missing authorization 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.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 14.10.19 | GHSA-cv55-v6rw-7r5v |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 15.5.4 | GHSA-cv55-v6rw-7r5v |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 15.10-rc-1 | GHSA-cv55-v6rw-7r5v |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 6.4-milestone-1, < 14.10.19>= 15.0-rc-1, < 15.5.4>= 15.6-rc-1, < 15.10-rc-1 |
Weakness: CWE-862 · 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-cv55-v6rw-7r5v x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/3d4dbb41f52d1a6e39835cfb1695ca6668605a39 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/626d2a5dbf95b4e719ae13bf1a0a9c76e4edd5a2 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/da177c3c972e797d92c1a31e278f946012c41b56 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-21478 x_refsource_MISC