
Exploit POC para CVE-2025-24893
# Exploit Title: XWiki 15.10.10 - Unauthenticated Remote Code Execution
# Date: 09/08/2025
# Exploit Author: D3Ext
# Vendor Homepage: https://www.xwiki.org/
# Software Link: https://github.com/xwiki/xwiki-platform
# Version: 15.10.10
# Tested on: Kali Linux 2025
# CVE: CVE-2025-24893
Este repositorio contiene un POC (Prueba de Concepto) de la vulnerabilidad CVE-2025-24893, que afecta a la versión 15.10.10 de XWiki. XWiki incluye una macro llamada SolrSearch (definida en Main.SolrSearchMacros) que permite la búsqueda de texto completo a través del motor. La vulnerabilidad se origina en la forma en que esta macro evalúa los parámetros de búsqueda en Groovy, ya que no sanea ni restringe la entrada maliciosa. Por lo tanto, los atacantes no autenticados pueden ejecutar código Groovy arbitrario de forma remota sin autenticación ni acceso previo.
Ruta vulnerable:
/xwiki/bin/view/Main/SolrSearchMacros?search=...
usage: CVE-2025-24893.py [-h] --url URL --command COMMAND
XWiki 15.10.10 - Unauthenticated Remote Code Execution (RCE)
options:
-h, --help show this help message and exit
--url URL URL of the web root
--command COMMAND command to execute
https://nvd.nist.gov/vuln/detail/CVE-2025-24893
https://www.offsec.com/blog/cve-2025-24893/
https://www.wiz.io/vulnerability-database/cve/cve-2025-24893
https://www.incibe.es/en/incibe-cert/early-warning/vulnerabilities/cve-2025-24893
Este proyecto está bajo la licencia MIT
Copyright © 2025, D3Ext