https://github.com/d3ext/cve-2025-24893
POC exploit for CVE-2025-24893
https://github.com/d3ext/cve-2025-24893
Last synced: 8 months ago
JSON representation
POC exploit for CVE-2025-24893
- Host: GitHub
- URL: https://github.com/d3ext/cve-2025-24893
- Owner: D3Ext
- License: mit
- Created: 2025-08-09T15:51:00.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-08-09T16:22:12.000Z (8 months ago)
- Last Synced: 2025-08-09T18:14:31.588Z (8 months ago)
- Language: Python
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```
## Explanation
This repository contains a POC (Proof of Concept) of the CVE-2025-24893 vulnerability, which affects to XWiki 15.10.10 version. XWiki includes a macro called SolrSearch (defined in Main.SolrSearchMacros) enabling full-text search through the engine. The vulnerability stems from the way this macro evaluates search parameters in Groovy, failing to sanitize or restrict malicious input. Thus, unauthenticated attackers are able to execute arbitrary Groovy code remotely without authentication or prior access.
Vulnerable path:
`/xwiki/bin/view/Main/SolrSearchMacros?search=...`
## Usage
```
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
```
## Demo

## References
```
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
```
## License
This project is under [MIT](https://github.com/D3Ext/CVE-2024-25641/blob/main/LICENSE) license
Copyright © 2025, *D3Ext*