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-15473 — Remote OpenSSH username enumeration exploit for CVE-2018-15473, featuring malformed packet and timing attack scripts with multi-threaded scanning. | Kitploit
Tools/GitHubGitHub/wtbacon/cve-2018-15473
ReconnaissanceVulnerability AnalysisExploitationInformation GatheringNetwork SecurityPenetration Testing
GitHubwtbacon/cve-2018-15473

cve-2018-15473

Remote OpenSSH username enumeration exploit for CVE-2018-15473, featuring malformed packet and timing attack scripts with multi-threaded scanning.

View Repository
467 months agoNot yet reviewed
Share

CVE-2018-15473: OpenSSH Username Enumeration

OpenSSH through 7.7 allows remote attackers to enumerate valid usernames by sending malformed authentication requests and observing differential server responses.

Details

FieldValue
Affected SoftwareOpenSSH 2.3 through 7.7
CVSS v3.15.3 (Medium)
Attack VectorNetwork (remote, no authentication required)
Root CauseServer does not delay bailout for invalid users until after the full packet is parsed (auth2-gss.c, auth2-hostbased.c, auth2-pubkey.c)
ImpactInformation disclosure — valid username enumeration

Scripts

exploit.py — Malformed Packet (fast, multi-threaded)

Sends a truncated SSH_MSG_USERAUTH_REQUEST (boolean field removed). Invalid users trigger an early bailout (USERAUTH_FAILURE), valid users cause the server to disconnect.

exploit_timing.py — Timing Attack (slower, works on patched servers)

Sends a very long password (~100KB) via password auth. Valid users take longer because the server hashes the password before rejecting, while invalid users are rejected immediately. Runs sequentially and auto-calibrates the threshold.

Use this when exploit.py returns false positives (patched servers).

Quick Start

git clone <this-repo-url>
cd cve-2018-15473

pip install -r requirements.txt

# Malformed packet (try this first)
python3 exploit.py <target_ip> 22 <lhost> <lport> -u root
python3 exploit.py <target_ip> 22 <lhost> <lport> -w usernames.txt -t 8

# Timing attack (fallback for patched servers)
python3 exploit_timing.py <target_ip> 22 <lhost> <lport> -u root
python3 exploit_timing.py <target_ip> 22 <lhost> <lport> -w usernames.txt

Arguments (both scripts)

ArgumentDescription
target_ipTarget SSH server IP
target_portTarget SSH port (usually 22)
lhostAttacker IP (unused, kept for template consistency)
lportAttacker port (unused, kept for template consistency)
-u, --usernameSingle username to test
-w, --wordlistPath to a wordlist file (one username per line)
-t, --threadsNumber of threads (default: 4, exploit.py only)

References

  • https://nvd.nist.gov/vuln/detail/CVE-2018-15473
  • https://www.exploit-db.com/exploits/45233
  • https://github.com/epi052/cve-2018-15473
  • https://github.com/Rhynorater/CVE-2018-15473-Exploit
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.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    439
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    264

Explore all tools

Browse our collection of tools

View all tools →