
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
| 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 |
/gremlin endpoint/tmp/shell.phpβ οΈ IMPORTANT LEGAL NOTICE