CVE-2024-31982: critical vulnerability in xwiki-platform
XWiki Platform: Remote code execution as guest via DatabaseSearch
Published · Updated
97Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 10epss 35%
from disclosure to weapon73 days
Published on NVDApr 10
1st PoC+73d
VulnCheck+77d
exploitation probability
35%top 2% of all CVEs
observed exploitation
yesVulnCheck
8 public exploit(s)
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected products
xwiki · xwiki-platformpublic PoCs found — 8
githubgithub.com/bigb0x/CVE-2024-31982★ 10githubgithub.com/NanoWraith/CVE-2024-31982★ 1githubgithub.com/th3gokul/CVE-2024-31982★ 0githubgithub.com/raishin1/CVE-2024-31982★ 0vulncheckvulncheck.com/xdb/ad97958b10c4unverifiedvulncheckvulncheck.com/xdb/07acc1d2aca9unverifiedvulncheckvulncheck.com/xdb/032bed7a111bunverifiedvulncheckvulncheck.com/xdb/e93339b71785unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — xwiki-platform
In the same product, most dangerous first.
CVE-2025-24893CRITICALRemote code execution as guest via SolrSearchMacros request in xwikiEPSS 99.9%KEVCVE-2024-21650CRITICALXWiki Remote Code Execution vulnerability via user registrationEPSS 93.5%CVE-2023-37462CRITICALImproper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-skin-uiEPSS 91.6%CVE-2023-46731CRITICALRemote code execution through the section parameter in Administration as guest in XWiki PlatformEPSS 88.5%CVE-2025-32429CRITICALXWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameterEPSS 87.1%CVE-2023-50719HIGHXWiki Platform Solr search discloses password hashes of all usersEPSS 83.5%
References
https://github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31https://github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8https://github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9https://jira.xwiki.org/browse/XWIKI-21472https://www.vicarius.io/vsociety/posts/cve-2024-31982-detect-xwiki-vulnerabilityhttps://www.vicarius.io/vsociety/posts/cve-2024-31982-xwiki-mitigation-vulnerabilityhttps://www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982