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
sendmail-clamav-exploit-CVE-2007-4560 — Python RCE exploit for Sendmail with ClamAV-Milter <0.91.2 (CVE-2007-4560). Remote root command injection via SMTP RCPT TO headers. | Kitploit
Tools/GitHubGitHub/strikoder-premium/sendmail-clamav-exploit-cve-2007-4560
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingCommand and ControlPayload Development
GitHubstrikoder-premium/sendmail-clamav-exploit-cve-2007-4560

sendmail-clamav-exploit-CVE-2007-4560

Python RCE exploit for Sendmail with ClamAV-Milter <0.91.2 (CVE-2007-4560). Remote root command injection via SMTP RCPT TO headers.

View Repository
45311 months agoNot yet reviewed
Share

Sendmail + ClamAV-Milter Exploit (CVE-2007-4560)

Python RCE exploit for Sendmail with ClamAV-Milter <0.91.2 (CVE-2007-4560). Remote root command injection via SMTP RCPT TO headers.

Exploit Demo

About

Python port of the classic Sendmail/ClamAV-Milter remote root exploit originally written in Perl by Eliteboy.

Original exploit: exploit-db.com/exploits/4761

Vulnerability

The exploit leverages improper input sanitization in clamav-milter <0.91.2, allowing command injection through specially crafted SMTP RCPT TO headers. Commands execute with root privileges, enabling:

  1. Modification of /etc/inetd.conf to add a bind shell
  2. Restart of the inetd service to activate the backdoor

Why Python?

The original Perl exploit works, but this Python port offers significant improvements for modern pentesting workflows:

This Python Port:

  • Zero dependencies - Python3 standard library only, no CPAN modules
  • Better error handling - Clear, actionable error messages
  • Progress indicators - Step-by-step feedback during exploitation

Usage

python sendmail_clamav_exploit.py <target_ip>

After successful exploitation:

nc <target_ip> 1001
bash -i

Tested On

  • Sendmail 8.13.4/8.13.4/Debian-3sarge3
  • ClamAV-Milter < 0.91.2

References

  • Original exploit: https://www.exploit-db.com/exploits/4761
  • CVE: Related to ClamAV-Milter command injection
  • Author: strikoder (https://github.com/strikoder)
  • Original author: Eliteboy (2007)
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.

    871
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    383
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    280

Explore all tools

Browse our collection of tools

View all tools →