
Exploit POC pour 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
Ce dépôt contient une POC (Proof of Concept) de la vulnérabilité CVE-2025-24893, qui affecte la version 15.10.10 de XWiki. XWiki inclut une macro nommée SolrSearch (définie dans Main.SolrSearchMacros) permettant la recherche en texte intégral via le moteur. La vulnérabilité provient de la manière dont cette macro évalue les paramètres de recherche en Groovy, en omettant de neutraliser ou de restreindre les entrées malveillantes. Ainsi, des attaquants non authentifiés peuvent exécuter du code Groovy arbitraire à distance, sans authentification ni accès préalable.
Chemin vulnérable :
/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
Ce projet est sous licence MIT
Copyright © 2025, D3Ext