CVE-2024-31982
Java vulnerability analysis and mitigation

Overview

XWiki Platform, a generic wiki platform, contains a critical vulnerability (CVE-2024-31982) that affects versions from 2.4-milestone-1 up to versions 14.10.20, 15.5.4, and 15.10-rc-1. The vulnerability allows remote code execution through the database search functionality, which is accessible by default to all users, including unauthenticated visitors (GitHub Advisory).

Technical details

The vulnerability exists in XWiki's database search functionality where the search text input is not properly sanitized, allowing for code injection. The issue has a CVSS v3.1 base score of 10.0 CRITICAL (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H), indicating the highest possible severity. The vulnerability is classified as CWE-95 (Improper Neutralization of Directives in Dynamically Evaluated Code) (GitHub Advisory, NVD).

Impact

The vulnerability impacts the confidentiality, integrity, and availability of the entire XWiki installation. Any visitor of a public wiki or user of a closed wiki can execute arbitrary code on the system, as the database search is accessible by default to all users (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in XWiki versions 14.10.20, 15.5.4, and 15.10RC1. For users unable to update immediately, two workarounds are available: manually applying the patch to the page Main.DatabaseSearch, or deleting the page if database search is not explicitly used, as it is not the default search interface of XWiki (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management