CVE-2024-31982
XWiki Platform: Remote code execution as guest via DatabaseSearch
Exploitation likely. EPSS gives it a 35% chance of exploitation in the next 30 days. Fixed in 14.10.20.
What to do
Find your product and version, then upgrade to the build on the right.
- Xwiki-platformAffected: >= 2.4-milestone-1, < 14.10.20Upgrade to: not statedAffected: >= 15.0-rc-1, < 15.5.4Upgrade to: not statedAffected: >= 15.6-rc-1, < 15.10-rc-1Upgrade to: not statedStated by: CVE record
- Maven org.xwiki.platform:xwiki-platform-search-uiAffected: ≥ 2.4-milestone-1, < 14.10.20Upgrade to: 14.10.20Stated by: GitHub advisory
- XwikiAffected: ≥ 2.4, < 14.10.20Upgrade to: 14.10.20Stated by: NVD
- Сообщество свободного программного обеспечения XWiki PlatformAffected: от 15.0-rc-1 до 15.5.4Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check what version of XWiki Platform you are running (visible in the admin panel or installed package info).
- If running any version from 2.4-milestone-1 up to 4.10.19, 15.5.3, or 15.10-rc-1, treat this as urgent.
- Upgrade to XWiki 14.10.20, 15.5.4, or 15.10-rc-1 (whichever matches your release line) as soon as possible.
- If you cannot upgrade right away, delete or restrict access to the 'Main.DatabaseSearch' page as a temporary measure, unless your users rely on it for searching.
- After upgrading, confirm the DatabaseSearch page works normally and review access logs for unusual search queries around the time before you patched.
mvn dependency:... (not a typical package manager install; upgrade via XWiki distribution/WAR or set org.xwiki.platform:xwiki-platform-search-ui to >=14.10.20 / >=15.5.4 / >=15.10-rc-1 in your Maven build)What it is
From the CVE record
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.
In plain language
Written by AI from the recordIf you run a public or internal XWiki wiki site (versions before 14.10.20 / 15.5.4 / 15.10-rc-1), anyone visiting it—no login needed—can take full control of your server, so you should check and fix this soon.
Unauthenticated remote code execution in XWiki Platform via the Main.DatabaseSearch page, where unsanitized search text is interpreted as server-side script (CWE-95/94), granting full confidentiality/integrity/availability compromise to any visitor.
If you're affected
- Full server takeover
- Data theft from wiki content
- Website defacement
- Platform used to attack other systems
- Extended downtime during cleanup
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
35% chance of exploitation activity in the next 30 days, which ranks it in the 98th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
8 events over 806 days, from the signal feeds we watch.
- OpenVAS check added
- EPSS band changecritical → moderate
- Nuclei check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Scored 10.0 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope ChangedThe exploit can affect other components (e.g. sandbox escape, host compromise from VM)
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Xwiki, not every advisory.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI