Libssh2 up to 1.8.0 SSH Server SFTP Packet out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in Libssh2 up to 1.8.0. This vulnerability affects unknown code of the component SSH Server. Such manipulation as part of SFTP Packet leads to out-of-bounds. This vulnerability is uniquely identified as CVE-2019-3860. The attack can be launched remotely. No exploit exists. The affected component should be upgraded.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Libssh2 up to 1.8.0. Affected by this issue is an unknown part of the component SSH Server. The manipulation as part of a SFTP Packet leads to a out-of-bounds vulnerability. Using CWE to declare the problem leads to CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:

An out of bounds read flaw was discovered in libssh2 before 1.8.1 in the way SFTP packets with empty payloads are parsed. A remote attacker who compromises a SSH server may be able to cause a Denial of Service or read data in the client memory.

The bug was discovered 03/18/2019. The weakness was disclosed 03/25/2019 by Chris Coulson as confirmed bug report (Bugzilla). The advisory is shared for download at bugzilla.redhat.com. This vulnerability is handled as CVE-2019-3860 since 01/03/2019. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are neither technical details nor an exploit publicly available.

The vulnerability was handled as a non-public zero-day exploit for at least 7 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 214139 (F5 Networks BIG-IP : libssh vulnerabilities (K000149288)), which helps to determine the existence of the flaw in a target environment. The commercial vulnerability scanner Qualys is able to test this issue with plugin 172157 (SUSE Enterprise Linux Security Update for libssh2_org (SUSE-SU-2019:13982-1)).

Upgrading to version 1.8.1 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (214139) and SecurityFocus (BID 107485†). The entries VDB-131993, VDB-131994, VDB-132104 and VDB-132105 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.1
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.1
NVD Vector: 🔍

CNA Base Score: 5.0
CNA Vector (Red Hat, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 214139
Nessus Name: F5 Networks BIG-IP : libssh vulnerabilities (K000149288)

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Libssh2 1.8.1

Timelineinfo

01/03/2019 🔍
03/18/2019 +74 days 🔍
03/18/2019 +0 days 🔍
03/25/2019 +7 days 🔍
03/26/2019 +1 days 🔍
01/15/2025 +2122 days 🔍

Sourcesinfo

Advisory: DLA 1730-1
Researcher: Chris Coulson
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2019-3860 (🔍)
GCVE (CVE): GCVE-0-2019-3860
GCVE (VulDB): GCVE-100-132212
SecurityFocus: 107485 - libssh2 Multiple Security Vulnerabilities

See also: 🔍

Entryinfo

Created: 03/26/2019 14:03
Updated: 01/15/2025 03:40
Changes: 03/26/2019 14:03 (64), 05/20/2020 07:17 (5), 08/07/2023 10:19 (4), 08/07/2023 10:25 (12), 01/15/2025 03:40 (17)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!