Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

libssh Vulnerable to Authentication Bypass (CVE-2018-10933)

A newly announced vulnerability in libssh, a multiplatform library that supports the Secure Shell (SSH) protocol, allows attackers to bypass authentication and gain full control over vulnerable servers.

Background

On October 16, the libssh team published an important security update for a vulnerability in libssh versions 0.6 and above. libssh is a multiplatform library written in C that supports the SSH protocol and can be used to implement client and server applications. The security update addresses CVE-2018-10933, an authentication bypass vulnerability. Tenable confirms our products are not vulnerable to CVE-2018-10933.

Impact assessment

Using Shodan, a search engine for internet-connected devices, we found nearly 2,000 devices are running libssh versions 0.6 and above. However, the full scope of libssh use is unclear. Additionally, it has been reported that vulnerable instances of libssh need to be running in server mode, not client mode, which may limit the impact of this vulnerability.

Vulnerability details

When authenticating to a server using libssh, it expects to receive a “SSH2_MSG_USERAUTH_REQUEST” message to initiate authentication. However, servers running vulnerable versions of libssh can be presented with a “SSH2_MSG_USERAUTH_SUCCESS” message, which would allow anyone to access the server without providing any credentials.

Below is a screenshot of Tenable Research confirming this vulnerability on a test system in our lab:

Tenable Research confirmed the libssh vulnerability on a test system in our lab

Urgently required actions

This vulnerability has been addressed in libssh versions 0.8.4 and 0.7.6, so it is important to update servers once server distributions release patches. Additionally, if software creators implement the libssh library in server mode, they should update to the latest version of the library.

Updated on Oct. 19, 2018: Several distributions have released patches to address this vulnerability, including Debian, Ubuntu and SUSE. Additionally, Cisco and F5 Networks have released security advisories for their products. Cisco is currently investigating its product line to determine whether any are affected by the libssh vulnerability. F5 Networks released an advisory for BIG-IP application delivery controllers and lists the Advanced Firewall Manager (AFM) as vulnerable but the company has not yet provided a patch.

Identifying affected systems

A list of Nessus plugins to identify this vulnerability can be found here.

The output of plugin 118154, the exploit plugin, can be seen below.

Output of Tenable plugin 118154, the exploit plugin

This image shows the output of plugin 118155, which checks the libssh version. Please note this will only report when the Accuracy is set to “Show potential false alarms.”

Output of Tenable plugin 118155, which checks the libssh version

Get more information

Learn more about Tenable.io, the first Cyber Exposure platform for holistic management of your modern attack surface. Get a free 60-day trial of Tenable.io Vulnerability Management.

Subscribe to the Tenable Blog

Subscribe
Try for Free Buy Now

Try Tenable.io

FREE FOR 60 DAYS

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Sign up now and run your first scan within 60 seconds.

Buy Tenable.io

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

65 assets
Try for Free Buy Now

Try Nessus Professional Free

FREE FOR 7 DAYS

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy Nessus Professional

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save

Try for Free Buy Now

Try Tenable.io Web Application Scanning

FREE FOR 60 DAYS

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable.io platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now and run your first scan within 60 seconds.

Buy Tenable.io Web Application Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs
Try for Free Contact Sales

Try Tenable.io Container Security

FREE FOR 60 DAYS

Enjoy full access to the only container security offering integrated into a vulnerability management platform. Monitor container images for vulnerabilities, malware and policy violations. Integrate with continuous integration and continuous deployment (CI/CD) systems to support DevOps practices, strengthen security and support enterprise policy compliance.

Buy Tenable.io Container Security

Tenable.io Container Security seamlessly and securely enables DevOps processes by providing visibility into the security of container images – including vulnerabilities, malware and policy violations – through integration with the build process.

Learn More about Industrial Security