Critical severityNVD Advisory· Published Apr 10, 2024· Updated Aug 13, 2024
XWiki Platform remote code execution from account through UIExtension parameters
CVE-2024-31997
Description
XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.platform:xwiki-platform-uiextension-apiMaven | < 14.10.19 | 14.10.19 |
org.xwiki.platform:xwiki-platform-uiextension-apiMaven | >= 15.0-rc-1, < 15.5.4 | 15.5.4 |
org.xwiki.platform:xwiki-platform-uiextension-apiMaven | >= 15.6-rc-1, < 15.9-rc-1 | 15.9-rc-1 |
Affected products
2- Range: < 14.10.19
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-c2gg-4gq4-jv5jghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-31997ghsaADVISORY
- github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1eaghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90dghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5jghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XWIKI-21335ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.