
CVE-2024-27348 Exploitation Toolkit: Complete RCE exploit for Apache Huge-Graph-Server vulnerability.
📚 Course: FC411 - Secure Network Design
👨🏫 Instructor: Dr. Maira Sultan
🏫 University: University of Prince Mugrin
📅 Year: 2025
⚡ A complete toolkit for exploiting CVE-2024-27348 (Apache Huge-Graph-Server) developed as part of the FC411 course requirements. This project includes both the exploit and a bind shell for educational purposes.
This repository contains two complementary tools for exploiting CVE-2024-27348:
🔧 exploit.py - Exploits the vulnerability to deploy a PHP web shell
🖥️ bind_shell.py - Provides an interactive shell interface to the deployed web shell
Together, these tools provide a complete exploitation chain for testing vulnerable Apache Huge-Graph-Server instances.
Deploys a PHP web shell on vulnerable Apache TinkerPop Gremlin Server (CVE-2024-27348).
✨ Features:
/tmp/shell.phpInteractive command-line interface for the deployed PHP web shell.
✨ Features:
exit or quit)git clone https://github.com/wqfh/MasterOfTheIndestry.git
cd MasterOfTheIndestry
📦 Install required dependencies:
pip install -r requirements.txt
✅ Verify installation:
python3 exploit.py --help
python3 bind_shell.py --help
🔧 Step 1: Deploy the Shell
Use exploit.py to deploy the PHP web shell: bash
python3 exploit.py -u http://target:8182
🖥️ Step 2: Connect to the Shell
Use bind_shell.py to interact:
python3 bind_shell.py -u http://target:4444
/gremlin endpoint/tmp/shell.php⚠️ IMPORTANT LEGAL NOTICE
| Aspect | Details |
|---|
| CVE ID | CVE-2024-27348 |
| Severity | 🔴 Critical (CVSS: 9.8) |
| Affected | Apache Huge-Graph-Server ≤ 3.7.1 |
| Type | Remote Code Execution |
| Vector | Gremlin Query Injection |