Exploit database

Vulnerability

CVE-2024-31982

XWiki Platform: Remote code execution as guest via DatabaseSearch

Vulnerability details

Score
10.0
Severity
critical

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

3 sources
bigb0x/cve-2024-31982
GH-838c35685cf213155d868e96a1af06cdGitHubUnofficial GitHub sourcePreferred

POC for CVE-2024-31982: XWiki Platform Remote Code Execution > 14.10.20

2024-06-223 files · 10 stars
12442rf/poc
GH-3a840c3a743e0417793b49231edf2d51GitHubUnofficial GitHub source

12442rf/poc source repository

2025-05-0612 files · 1 stars
nanowraith/cve-2024-31982
GH-6a79408a1a26e77de55e342ae2d54444GitHubUnofficial GitHub source

nanowraith/cve-2024-31982 source repository

2024-06-223 files · 1 stars