5.3
MEDIUM
CVE-2016-20012
OpenSSH User Enumeration via Invalid Login Attempts
Description

OpenSSH through 8.7 allows remote attackers, who have a suspicion that a certain combination of username and public key is known to an SSH server, to test whether this suspicion is correct. This occurs because a challenge is sent only when that combination could be valid for a login session. NOTE: the vendor does not recognize user enumeration as a vulnerability for this product

INFO

Published Date :

Sept. 15, 2021, 8:15 p.m.

Last Modified :

Aug. 6, 2024, 4:16 a.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-20012 has a 10 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-20012 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Netapp ontap_select_deploy_administration_utility
2 Netapp hci_management_node
3 Netapp solidfire
4 Netapp clustered_data_ontap
1 Openbsd openssh
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-20012.

URL Resource
https://github.com/openssh/openssh-portable/blob/d0fffc88c8fe90c1815c6f4097bc8cbcabc0f3dd/auth2-pubkey.c#L261-L265 Exploit Third Party Advisory
https://github.com/openssh/openssh-portable/pull/270 Patch Third Party Advisory
https://github.com/openssh/openssh-portable/pull/270#issuecomment-920577097 Issue Tracking Third Party Advisory
https://github.com/openssh/openssh-portable/pull/270#issuecomment-943909185 Issue Tracking Third Party Advisory
https://rushter.com/blog/public-ssh-keys/ Exploit Third Party Advisory
https://security.netapp.com/advisory/ntap-20211014-0005/ Third Party Advisory
https://utcc.utoronto.ca/~cks/space/blog/tech/SSHKeysAreInfoLeak Third Party Advisory
https://www.openwall.com/lists/oss-security/2018/08/24/1 Mailing List Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 2 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Aug. 28, 2024, 3:12 a.m. This repo has been linked 1 different CVEs too.

DockerLab - Machine

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 19, 2024, 3:29 p.m. This repo has been linked 9 different CVEs too.

Máquina DockerLab

Updated: 3 months ago
0 stars 0 fork 0 watcher
Born at : Aug. 18, 2024, 1:13 a.m. This repo has been linked 9 different CVEs too.

terraform-rockylinux-libvirt-kvm

HCL

Updated: 6 months ago
1 stars 0 fork 0 watcher
Born at : May 10, 2024, 7:32 p.m. This repo has been linked 2 different CVEs too.

Terraform to install AlmaLinux 9 to KVM based systems using libvirt provider

HCL Smarty

Updated: 3 months, 3 weeks ago
2 stars 0 fork 0 watcher
Born at : May 10, 2024, 9:02 a.m. This repo has been linked 2 different CVEs too.

Nmap's XML result parse and NVD's CPE correlation to search CVE.

Python

Updated: 1 year, 6 months ago
0 stars 1 fork 1 watcher
Born at : May 10, 2023, 6:08 a.m. This repo has been linked 4 different CVEs too.

Terraform to Create Rocky Linux on KVM/Libvirt

HCL

Updated: 3 months ago
2 stars 2 fork 2 watcher
Born at : Dec. 23, 2022, 5:59 p.m. This repo has been linked 2 different CVEs too.

Walkthrough and Writeups for the HackTheBox Penetration Lab Testing Environment

Updated: 2 years, 4 months ago
0 stars 0 fork 0 watcher
Born at : July 16, 2022, 12:34 p.m. This repo has been linked 42 different CVEs too.

Easily scan for CVEs using nmap.

cve nmap portscanning shell shellscript automation

Shell

Updated: 2 months, 4 weeks ago
10 stars 2 fork 2 watcher
Born at : Jan. 13, 2022, 2:44 p.m. This repo has been linked 34 different CVEs too.

IOT Search Engine Scanner/Crawler/Scraper

binaryedge iot-platform searchengine shodan-api shodan-search hunterhow iot-search iotengine

Python

Updated: 3 months, 1 week ago
7 stars 1 fork 1 watcher
Born at : March 5, 2021, 12:43 p.m. This repo has been linked 8 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-20012 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-20012 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Aug. 06, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 17, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Apr. 11, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 21, 2024

    Action Type Old Value New Value
    Added Tag MITRE disputed
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Description ** DISPUTED ** OpenSSH through 8.7 allows remote attackers, who have a suspicion that a certain combination of username and public key is known to an SSH server, to test whether this suspicion is correct. This occurs because a challenge is sent only when that combination could be valid for a login session. NOTE: the vendor does not recognize user enumeration as a vulnerability for this product. OpenSSH through 8.7 allows remote attackers, who have a suspicion that a certain combination of username and public key is known to an SSH server, to test whether this suspicion is correct. This occurs because a challenge is sent only when that combination could be valid for a login session. NOTE: the vendor does not recognize user enumeration as a vulnerability for this product
  • Modified Analysis by [email protected]

    Apr. 18, 2022

    Action Type Old Value New Value
    Changed Reference Type https://github.com/openssh/openssh-portable/pull/270#issuecomment-920577097 No Types Assigned https://github.com/openssh/openssh-portable/pull/270#issuecomment-920577097 Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/openssh/openssh-portable/pull/270#issuecomment-943909185 No Types Assigned https://github.com/openssh/openssh-portable/pull/270#issuecomment-943909185 Issue Tracking, Third Party Advisory
    Changed Reference Type https://www.openwall.com/lists/oss-security/2018/08/24/1 No Types Assigned https://www.openwall.com/lists/oss-security/2018/08/24/1 Mailing List, Third Party Advisory
  • CVE Modified by [email protected]

    Feb. 24, 2022

    Action Type Old Value New Value
    Changed Description OpenSSH through 8.7 allows remote attackers, who have a suspicion that a certain combination of username and public key is known to an SSH server, to test whether this suspicion is correct. This occurs because a challenge is sent only when that combination could be valid for a login session. ** DISPUTED ** OpenSSH through 8.7 allows remote attackers, who have a suspicion that a certain combination of username and public key is known to an SSH server, to test whether this suspicion is correct. This occurs because a challenge is sent only when that combination could be valid for a login session. NOTE: the vendor does not recognize user enumeration as a vulnerability for this product.
    Added Reference https://github.com/openssh/openssh-portable/pull/270#issuecomment-943909185 [No Types Assigned]
    Added Reference https://github.com/openssh/openssh-portable/pull/270#issuecomment-920577097 [No Types Assigned]
    Added Reference https://www.openwall.com/lists/oss-security/2018/08/24/1 [No Types Assigned]
  • Modified Analysis by [email protected]

    Nov. 30, 2021

    Action Type Old Value New Value
    Changed Reference Type https://security.netapp.com/advisory/ntap-20211014-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20211014-0005/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:hci_management_node:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 14, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20211014-0005/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 30, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type https://github.com/openssh/openssh-portable/blob/d0fffc88c8fe90c1815c6f4097bc8cbcabc0f3dd/auth2-pubkey.c#L261-L265 No Types Assigned https://github.com/openssh/openssh-portable/blob/d0fffc88c8fe90c1815c6f4097bc8cbcabc0f3dd/auth2-pubkey.c#L261-L265 Exploit, Third Party Advisory
    Changed Reference Type https://github.com/openssh/openssh-portable/pull/270 No Types Assigned https://github.com/openssh/openssh-portable/pull/270 Patch, Third Party Advisory
    Changed Reference Type https://rushter.com/blog/public-ssh-keys/ No Types Assigned https://rushter.com/blog/public-ssh-keys/ Exploit, Third Party Advisory
    Changed Reference Type https://utcc.utoronto.ca/~cks/space/blog/tech/SSHKeysAreInfoLeak No Types Assigned https://utcc.utoronto.ca/~cks/space/blog/tech/SSHKeysAreInfoLeak Third Party Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* versions up to (including) 8.7
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-20012 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-20012 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.11 }} 1.28%

score

0.89401

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability