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
Tools/GitHubGitHub/michael-david-fry/cve-2024-39929
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationEmail Security
GitHubmichael-david-fry/cve-2024-39929

CVE-2024-39929

POC to test CVE-2024-39929 against EXIM mail servers

View Repository
5462 years agoNot yet reviewed
Share

Exim CVE-2024-39929 Exploit PoC

This repository contains a Proof-of-Concept (PoC) script to exploit the Exim vulnerability CVE-2024-39929. The vulnerability affects Exim versions prior to 4.98, allowing attackers to bypass file extension blocking mechanisms and potentially deliver executable attachments to users' mailboxes.

Description

The PoC script in this repository reads a list of SMTP servers from an external file and sends an email with a crafted attachment designed to exploit CVE-2024-39929. The script dynamically sets the email subject to indicate the server through which the email was passed.

Usage

Prerequisites

  • Python 3.x
  • smtplib and email modules (standard with Python)

Installation

  1. Clone the repository:

    git clone https://github.com/michael-david-fry/CVE-2024-39929.git
    cd CVE-2024-39929
    
  2. Ensure you have a file named servers.txt in the repository directory. This file should contain a list of IP addresses or FQDNs, each on a new line.

Running the Script

  1. Execute the script, providing the path to servers.txt as a command-line argument:

    python CVE-2024-39929_POC.py path/to/servers.txt
    
  2. The script will prompt you for the sender and recipient email addresses:

    Enter the sender email address: [email protected]
    Enter the recipient email address: [email protected]
    

Example

python CVE-2024-39929_POC.py servers.txt

Example prompts:

Enter the sender email address: [email protected]
Enter the recipient email address: [email protected]

Script Details

The script performs the following actions:

  1. Reads the list of SMTP servers from the specified file.
  2. Prompts the user for sender and recipient email addresses.
  3. Connects to each SMTP server on port 25.
  4. Sends an email with a crafted attachment designed to exploit CVE-2024-39929.
  5. Sets the email subject to indicate the server used for sending the email.
  6. Prints debug information and handles exceptions.

Important Considerations

  • Ports: This PoC was designed for port 22 only, but can be tailored to include additional ports (465, 587, etc.) on line 78.
  • Ethical Use: Ensure you have permission to test these servers for vulnerabilities. Unauthorized testing can be illegal and unethical.
  • Monitoring: Monitor the responses and behaviors of the servers to determine if the exploit was successful.
  • Temp Email Host: Using an email host that does not scan for malware is essential, otherwise other security controls will interfere. https://www.guerrillamail.com/

References

  • https://thehackernews.com/2024/07/critical-exim-mail-server-vulnerability.html
  • https://nvd.nist.gov/vuln/detail/CVE-2024-39929
  • https://github.com/Exim/exim
  • https://github.com/rxerium/CVE-2024-39929

Disclaimer

This tool is intended for educational purposes and authorized testing only. The authors are not responsible for any misuse of this tool.

Contact

For issues, questions, or contributions, please create an issue or submit a pull request on the GitHub repository.

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.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    385
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    279

Explore all tools

Browse our collection of tools

View all tools →