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-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
1376 months agoNot yet reviewed
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

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

python3 proftpd_master_exploit.py -t <TARGET_IP> -p 2121

Targeted File Leak

python3 proftpd_master_exploit.py -t <TARGET_IP> -f /etc/passwd

Wordlist-based Scanning

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

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 →