Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-42167-Exploit — Python exploit for CVE-2026-42167 (ProFTPD mod_sql). Features automated file scanning and timing-based blind data exfiltration. | Kitploit
Tools/GitHubGitHub/efeanilarslan/cve-2026-42167-exploit
Vulnerability AnalysisExploitationWeb Application ExploitationData ExfiltrationPenetration Testing
GitHubefeanilarslan/cve-2026-42167-exploit

CVE-2026-42167-Exploit

Python exploit for CVE-2026-42167 (ProFTPD mod_sql). Features automated file scanning and timing-based blind data exfiltration.

View Repository
3 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-42167 Master Exploit Tool

A professional security research tool for exploiting the CVE-2026-42167 vulnerability in ProFTPD's mod_sql module. This tool performs unauthenticated SQL injection to exfiltrate sensitive files from the server via time-based side-channel attacks.

"Note: The efficiency of this tool depends on the PostgreSQL user's permissions and network stability."

🛡️ Vulnerability Overview

CVE-2026-42167 is a critical logical flaw in the is_escaped_text() function of ProFTPD. When mod_sql is configured to log USER commands, an attacker can bypass SQL escaping by providing an input that starts and ends with a single quote ('). This tool leverages this bypass to execute PostgreSQL-specific commands.

✨ Features

  • Unauthenticated Access: No credentials required if USER logging is enabled.
  • Smart File Scanning: Automatically tests for common file extensions (.txt, .log, .cfg, etc.) to prevent false positives.
  • Automated Exfiltration: Detects file length and extracts content character-by-character using ASCII-based timing attacks.
  • PostgreSQL Optimized: Uses pg_sleep() and pg_read_file() for reliable exploitation.
  • No-Space Bypass: Uses SQL comment syntax (/**/) to bypass space-filtering mechanisms.
  • 🚀 Installation

    root@kitploit:~
    git clone https://github.com/efeanilarslan/CVE-2026-42167-Exploit
    cd CVE-2026-42167-Exploit
    pip install -r requirements.txt # (No external dependencies required)
    

    💻 Usage

    Basic Scan & Leak

    root@kitploit:~
    python3 proftpd_master_exploit.py -t <TARGET_IP> -p 2121
    

    Targeted File Leak

    root@kitploit:~
    python3 proftpd_master_exploit.py -t <TARGET_IP> -f /etc/passwd
    

    Wordlist-based Scanning

    root@kitploit:~
    python3 proftpd_master_exploit.py -t <TARGET_IP> -w common.txt -s 1.5
    

    ⚙️ Parameters

    FlagDescriptionDefault
    -tTarget IP addressRequired
    -pTarget FTP port2121
    -sSleep duration for timing attack2.0s
    -wWordlist for file discoveryNone
    -fSpecific file path to exfiltrateNone

    ⚠️ Legal Disclaimer

    This tool is for educational purposes and authorized security testing only. The developer is not responsible for any misuse or damage caused by this program. Use responsibly.

    Download Tool