Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2016-6210 PoC — OpenSSH 信息泄露漏洞

Source
Associated Vulnerability
Title:OpenSSH 信息泄露漏洞 (CVE-2016-6210)
Description:sshd in OpenSSH before 7.3, when SHA256 or SHA512 are used for user password hashing, uses BLOWFISH hashing on a static password when the username does not exist, which allows remote attackers to enumerate users by leveraging the timing difference between responses when a large password is provided.
Description
OpenSSH Username Enumeration - CVE-2016-6210
Readme
## This is the first version of the "weaponized" exploit for `CVE-2016-6210`

### Background:
Posted by Eddie Harari on Full Disclosure 
http://seclists.org/fulldisclosure/2016/Jul/51

###### The brief:
>By sending large passwords, a remote user can enumerate users on system that runs SSHD. This problem exists in most 
modern configuration due to the fact that it takes much longer to calculate SHA256/SHA512 hash than BLOWFISH hash.

###### The (more) technical:
>When SSHD tries to authenticate a non-existing user, it will pick up a fake password structure hardcoded in the SSHD 
source code. On this hard coded  password  structure  the password hash is based on BLOWFISH ($2) algorithm.
If real users passwords are hashed using SHA256/SHA512, then sending large passwords (10KB) will result in shorter 
response time from the server for non-existing users.

**NOTE: Mr. Harari tested this on `opensshd-7.2p2`, while my testing was done on  `OpenSSH_6.9p1`.** 

The script is currently based around a 10-30% range of deviation for timing(s) of valid versus invalid usernames. Currently only >20% are accepted as a valid usernames and appended to the output list accordingly (feel free to tweak this within the script). This has proved effective for me.

* More information on the process/background: https://justifysecurity.com/blog/weaponizing-cve-2016-6210/

`Bringing this project over to Github from Bitbucket.`
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →