CVE-2024-31997
XWiki Platform Remote Code Execution (RCE)
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.
INFO
Published Date :
April 10, 2024, 10:15 p.m.
Last Modified :
Jan. 9, 2025, 7:02 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
3.1
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-31997
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-31997
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-31997
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 09, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-862 Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions up to (excluding) 14.10.19 *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 15.0 up to (excluding) 15.5.4 *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 15.6 up to (excluding) 15.9 Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea No Types Assigned https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea No Types Assigned https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d No Types Assigned https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d No Types Assigned https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j No Types Assigned https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j Exploit, Vendor Advisory Changed Reference Type https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j No Types Assigned https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j Exploit, Vendor Advisory Changed Reference Type https://jira.xwiki.org/browse/XWIKI-21335 No Types Assigned https://jira.xwiki.org/browse/XWIKI-21335 Exploit, Vendor Advisory Changed Reference Type https://jira.xwiki.org/browse/XWIKI-21335 No Types Assigned https://jira.xwiki.org/browse/XWIKI-21335 Exploit, Vendor Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea Added Reference https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d Added Reference https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7 Added Reference https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j Added Reference https://jira.xwiki.org/browse/XWIKI-21335 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
Apr. 10, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j [No types assigned] Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea [No types assigned] Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d [No types assigned] Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7 [No types assigned] Added Reference GitHub, Inc. https://jira.xwiki.org/browse/XWIKI-21335 [No types assigned] Added CWE GitHub, Inc. CWE-862 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-31997
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-31997
weaknesses.