PT-2024-24096 · Xwiki · Xwiki Platform

Michael Hamann

·

Published

2023-10-26

·

Updated

2025-01-09

·

CVE-2024-31465

CVSS v3.1

9.9

Critical

VectorAV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions XWiki Platform versions 5.0-rc-1 through 14.10.19 XWiki Platform versions 15.5.3 and earlier XWiki Platform versions prior to 15.9-rc-1
Description The issue allows any user with edit rights on any page to execute code on the server by adding an object of type XWiki.SearchSuggestSourceClass to their user profile or any other page. This compromises the confidentiality, integrity, and availability of the whole XWiki installation. To exploit this, an attacker can add an object of type XWiki.SearchSuggestSourceClass to their profile page, set properties like name, engine, service, query, limit, and icon to malicious code, and then access the page with a specific URL parameter ?sheet=XWiki.SearchSuggestSourceSheet.
Recommendations For XWiki Platform versions 5.0-rc-1 through 14.10.19, update to version 14.10.20 or later. For XWiki Platform versions 15.5.3 and earlier, update to version 15.5.4 or later. For XWiki Platform versions prior to 15.9-rc-1, update to version 15.9-rc-1 or later. As a temporary workaround, manually apply the patch to the document XWiki.SearchSuggestSourceSheet.

Exploit

Fix

Code Injection

Eval Injection

Weakness Enumeration

Related Identifiers

BDU:2025-01901
CVE-2024-31465
GHSA-34FJ-R5GQ-7395

Affected Products

Xwiki Platform