libssh publickey_from_privatekey() function denial of service

Notification Type: IBM Security Protection Advisory
Notification Date: February 14, 2013
Notification Version: 1.0
   
Name: libssh publickey_from_privatekey() function denial of service
Public disclosure/
In the wild date:
January 22, 2013
CVE: CVE-2013-0176
Description:

libssh is vulnerable to a NULL-dereference condition which can lead to a DOS of the server application.

Discoverer: This vulnerability was discovered and researched by Yong Chuan Koh of IBM X-Force.

 

ISS Coverage

Product Content Version
Network Protection XGS
Proventia Network IDS
Proventia Network IPS
Proventia MFS
Proventia Server (Linux)
RealSecure Network
RealSecure Server Sensor
Virtual Server Protection for VMware
33.020
Proventia Desktop
Proventia Server IPS (Windows)
2850
Propagation Techniques ISS Protection Available

Denial of Service

SSH_libssh_privatekey_DoS
12 Feb 2013

Detailed Description

Business Impact:

Successful attacks will cause vulnerable server applications to become unresponsive, denying service to legitimate users.

*CVSS Base Score: 7.8
  Access Vector: Network
Access Complexity: Low
Authentication: None
Confidentiality Impact: None
Integrity Impact: None
Availability Impact: Complete
Adjusted Temporal Score: 6.8
  Exploitability: High
Remediation Level: Official-Fix
Report Confidence: Confirmed
Affected Products:

See References for details.

Technical Description:

During the "Key Exchange Init" exchange, the server sets up the session by matching the algorithms preferred by the client against what is supported. If there is no match, a variable remains uninitialized. On a subsequent "Diffie-Hellman Key Exchange Init" from client, this is dereferenced and leads to a crash.

Remediation:

Upgrade to the latest version of libssh (0.5.4 or later), available from the libssh Web site. See References.

References

XFDB: http://xforce.iss.net/xforce/xfdb/81595
libssh.org: http://www.libssh.org/2013/01/22/libssh-0-5-4-security-release/

Revision History

1.0 Initial publication.

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.