Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-31982— XWiki Platform: Remote code execution as guest via DatabaseSearch

Quick assessment

Affected
xwiki xwiki-platform
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

XWiki Platform是XWiki基金会的一套用于创建Web协作应用程序的Wiki平台。 XWiki Platform 存在安全漏洞,该漏洞源于 XWiki 的数据库搜索允许通过搜索文本远程执行代码。这允许公共 wiki 的任何访问者或封闭 wiki 的用户远程执行代码,因为默认情况下所有用户都可以访问数据库搜索。

CVSS 10.0 · Critical EPSS 38.27% · P99

Public Exploits 1

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-31982

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
XWiki Platform: Remote code execution as guest via DatabaseSearch
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
动态执行代码中指令转义处理不恰当(Eval注入)
Source: CVE Program / CVE List V5
Vulnerability Title
XWiki Platform 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
XWiki Platform是XWiki基金会的一套用于创建Web协作应用程序的Wiki平台。 XWiki Platform 存在安全漏洞,该漏洞源于 XWiki 的数据库搜索允许通过搜索文本远程执行代码。这允许公共 wiki 的任何访问者或封闭 wiki 的用户远程执行代码,因为默认情况下所有用户都可以访问数据库搜索。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
xwiki xwiki-platform >= 2.4-milestone-1, < 14.10.20 -

II. Public POCs for CVE-2024-31982

# POC Description Source Link Shenlong Link
1 None https://github.com/k3lpi3b4nsh33/CVE-2024-31982 POC Details
2 A tool for vulnerability detection and exploitation tool for CVE-2024-31982 https://github.com/th3gokul/CVE-2024-31982 POC Details
3 POC for CVE-2024-31982: XWiki Platform Remote Code Execution > 14.10.20 https://github.com/bigb0x/CVE-2024-31982 POC Details
4 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. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-31982.yaml POC Details
5 None https://github.com/NanoWraith/CVE-2024-31982 POC Details
6 Vulnerability for Xwiki https://github.com/raishin1/CVE-2024-31982 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-31982

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-31982 (3)

Vendor Advisories for CVE-2024-31982 (1)

Security Blog Posts for CVE-2024-31982 (1)

Other References for CVE-2024-31982 (1)

Same Patch Batch · xwiki · 2024-04-10 · 12 CVEs total

CVE-2024-31465 10.0 CRITICAL XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet
CVE-2024-31981 10.0 CRITICAL XWiki Platform: Privilege escalation (PR) from user registration through PDFClass
CVE-2024-31983 10.0 CRITICAL XWiki Platform: Remote code execution from edit in multilingual wikis via translations
CVE-2024-31984 10.0 CRITICAL XWiki Platform: Remote code execution through space title and Solr space facet
CVE-2024-31987 10.0 CRITICAL XWiki Platform remote code execution from account via custom skins support
CVE-2024-31996 10.0 CRITICAL XWiki Commons missing escaping of `{` in Velocity escapetool allows remote code execution
CVE-2024-31997 10.0 CRITICAL XWiki Platform remote code execution from account through UIExtension parameters
CVE-2024-31988 9.7 CRITICAL XWiki Platform CSRF remote code execution through the realtime HTML Converter API
CVE-2024-31986 9.1 CRITICAL XWiki Platform CSRF remote code execution through scheduler job's document reference
CVE-2024-31464 6.8 MEDIUM XWiki Platform: Password hash might be leaked by diff once the xobject holding them is del
CVE-2024-31985 5.4 MEDIUM XWiki Platform CSRF in the job scheduler

IV. Related Vulnerabilities