CVE-2024-31982
XWiki Platform Remote Code Execution Vulnerability
Description
XWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's database search allows remote code execution through the search text. This allows remote code execution for any visitor of a public wiki or user of a closed wiki as the database search is by default accessible for all users. This impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. As a workaround, one may manually apply the patch to the page `Main.DatabaseSearch`. Alternatively, unless database search is explicitly used by users, this page can be deleted as this is not the default search interface of XWiki.
INFO
Published Date :
April 10, 2024, 8:15 p.m.
Last Modified :
Jan. 21, 2025, 4:25 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
6.0
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2024-31982 has a 10 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-31982
.
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).
wy876
Python
wy876 POC | wy876的poc仓库已删库,该项目为其仓库镜像
备份的漏洞库,3月开始我们来维护
漏洞文库 wiki.wy876.cn
HTML
None
Python Dockerfile C++ Shell JavaScript TypeScript
POC for CVE-2024-31982: XWiki Platform Remote Code Execution > 14.10.20
Python
A tool for vulnerability detection and exploitation tool for CVE-2024-31982
Python
None
Python
Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.
cisa-kev vulnerability 0day cisa exploits
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
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-31982
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-31982
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. 21, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-94 Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 2.4 up to (excluding) 14.10.20 *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.10 Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565 No Types Assigned https://github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565 Patch Changed Reference Type https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9 No Types Assigned https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9 Vendor Advisory Changed Reference Type https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9 No Types Assigned https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9 Vendor Advisory Changed Reference Type https://jira.xwiki.org/browse/XWIKI-21472 No Types Assigned https://jira.xwiki.org/browse/XWIKI-21472 Exploit, Vendor Advisory Changed Reference Type https://jira.xwiki.org/browse/XWIKI-21472 No Types Assigned https://jira.xwiki.org/browse/XWIKI-21472 Exploit, Vendor Advisory Changed Reference Type https://www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982 No Types Assigned https://www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982 Exploit, Third Party Advisory Changed Reference Type https://www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982 No Types Assigned https://www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982 Exploit, Third Party 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/3c9e4bb04286de94ad24854026a09fa967538e31 Added Reference https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8 Added Reference https://github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565 Added Reference https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9 Added Reference https://jira.xwiki.org/browse/XWIKI-21472 Added Reference https://www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982 -
CVE Modified by [email protected]
Jul. 09, 2024
Action Type Old Value New Value Added Reference GitHub, Inc. https://www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982 [No types assigned] -
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. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's database search allows remote code execution through the search text. This allows remote code execution for any visitor of a public wiki or user of a closed wiki as the database search is by default accessible for all users. This impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. As a workaround, one may manually apply the patch to the page `Main.DatabaseSearch`. Alternatively, unless database search is explicitly used by users, this page can be deleted as this is not the default search interface of XWiki. Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9 [No types assigned] Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31 [No types assigned] Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8 [No types assigned] Added Reference GitHub, Inc. https://github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565 [No types assigned] Added Reference GitHub, Inc. https://jira.xwiki.org/browse/XWIKI-21472 [No types assigned] Added CWE GitHub, Inc. CWE-95 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:N/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-31982
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-31982
weaknesses.