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-2018-7600-Remote-Code-Execution — This repository showcases a fully self-developed Proof-of-Concept (PoC) for CVE-2018-7600, widely known as Drupalgeddon 2. This critical vulnerability in Drupal 7 and 8 core enables remote code execution (RCE), and the PoC demonstrates its exploitation in a clear and educational manner. | Kitploit
Tools/GitHubGitHub/syedghufranraza/cve-2018-7600-remote-code-execution
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubsyedghufranraza/cve-2018-7600-remote-code-execution

CVE-2018-7600-Remote-Code-Execution

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
11 year agoNot yet reviewed

About

This repository showcases a fully self-developed Proof-of-Concept (PoC) for CVE-2018-7600, widely known as Drupalgeddon 2. This critical vulnerability in Drupal 7 and 8 core enables remote code execution (RCE), and the PoC demonstrates its exploitation in a clear and educational manner.

Share

Drupalgeddon2 Python Exploit (CVE-2018-7600)

This repository contains a Python-based proof-of-concept exploit for the critical remote code execution vulnerability in Drupal, known as Drupalgeddon2 (CVE-2018-7600). This script is designed for educational purposes and for security professionals to use in authorized penetration testing scenarios.

📜 Disclaimer

This tool is intended for legal and ethical purposes only. Using this script on any system without explicit permission from the owner is illegal. The author and contributors are not responsible for any misuse or damage caused by this script. Use at your own risk.

Vulnerability Details

  • CVE ID: CVE-2018-7600
  • Description: Drupal versions before 7.58, 8.3.9, 8.4.6, and 8.5.1 have a remote code execution vulnerability due to insufficient sanitization of array values in form API (FAPI) AJAX requests. This allows an unauthenticated attacker to execute arbitrary code on the target server.
  • Affected Versions:
    • Drupal Core 7.x versions prior to 7.58
    • Drupal Core 8.3.x versions prior to 8.3.9
    • Drupal Core 8.4.x versions prior to 8.4.6
    • Drupal Core 8.5.x versions prior to 8.5.1

✨ Features

  • Single or Multiple Targets: Scan a single URL or provide a list of URLs from a file.
  • Custom Command Execution: Specify the command to be executed on the target system.
  • Multithreading: Run scans on multiple targets concurrently for faster assessments.
  • Vulnerability Check: Performs a basic check to identify if a target is running Drupal before attempting the exploit.
  • Output Logging: Save the results of the scan to a log file.
  • Colored CLI: Clean, color-coded output for better readability.

⚙️ Requirements

  • Python 3.x
  • requests library
  • colorama library

🚀 Installation

  1. Clone the repository:
    git clone <repository-url>
    cd <repository-directory>
    
  2. Install the required Python packages:
    pip install -r requirements.txt
    
    (Alternatively, install them manually):
    pip install requests colorama
    

Usage

The script offers several command-line arguments to customize its execution.

Basic Examples

  1. Exploit a single target with the default command (whoami):

    python3 drupalgeddon2.py -t http://example.com
    
  2. Exploit a single target with a custom command (e.g., ls -la):

    python3 drupalgeddon2.py -t http://vulnerable-drupal.site -c "ls -la"
    
  3. Scan a list of targets from a file: Create a file named targets.txt with one URL per line:

    http://site1.com
    https://site2.org
    http://site3.net
    

    Then run the script:

    python3 drupalgeddon2.py -l targets.txt
    

Advanced Usage

  1. Scan a list with a custom command and increased threads:

    python3 drupalgeddon2.py -l targets.txt -c "uname -a" -T 10
    
  2. Save the output to a log file:

    python3 drupalgeddon2.py -l targets.txt -o scan_results.log
    

Full List of Arguments

ArgumentShortDescriptionDefault
--target-tA single target URL.-
--list-lPath to a file containing a list of target URLs.-
--command-cThe command to execute on the target.whoami
--threads-TNumber of concurrent threads to use.5
--output-oFile to log the output to.-
--timeoutRequest timeout in seconds.15
Download Tool