GnuTLS up to 3.1.24/3.2.14/3.3.3 Session ID lib/gnutls_handshake.c read_server_hello ServerHello Packet memory corruption

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in GnuTLS up to 3.1.24/3.2.14/3.3.3. This impacts the function read_server_hello in the library lib/gnutls_handshake.c of the component Session ID Handler. Performing a manipulation as part of ServerHello Packet results in memory corruption. This vulnerability is reported as CVE-2014-3466. Moreover, an exploit is present. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in GnuTLS up to 3.1.24/3.2.14/3.3.3 (Network Encryption Software). It has been classified as critical. This affects the function read_server_hello in the library lib/gnutls_handshake.c of the component Session ID Handler. The manipulation as part of a ServerHello Packet leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

Buffer overflow in the read_server_hello function in lib/gnutls_handshake.c in GnuTLS before 3.1.25, 3.2.x before 3.2.15, and 3.3.x before 3.3.4 allows remote servers to cause a denial of service (memory corruption) or possibly execute arbitrary code via a long session id in a ServerHello message.

The weakness was disclosed 05/23/2014 by Nikos Mavrogiannopoulos as #8923804 as confirmed git commit (GIT Repository). It is possible to read the advisory at gitorious.org. The public release has been coordinated in cooperation with the project team. This vulnerability is uniquely identified as CVE-2014-3466 since 05/14/2014. The exploitability is told to be difficult. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details and a public exploit are known. The reason for this vulnerability is this part of code:

if (len < session_id_len) {

A public exploit has been developed by Nikos Mavrogiannopoulos in ANSI C and been published 6 days after the advisory. The exploit is shared for download at gitorious.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 74310 (CentOS 6 : gnutls (CESA-2014:0595)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CentOS Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 167234 (SUSE Enterprise Linux Security Update for GnuTLS (SUSE-SU-2014:0788-1)).

Upgrading to version 3.1.25, 3.2.15 or 3.3.4 eliminates this vulnerability. Applying the patch #8923804 is able to eliminate this problem. The bugfix is ready for download at gitorious.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

if (len < session_id_len || session_id_len > TLS_MAX_SESSION_ID_SIZE) {
Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 16296.

The vulnerability is also documented in the databases at X-Force (93542), Tenable (74310), SecurityFocus (BID 67741†), Secunia (SA58340†) and SecurityTracker (ID 1030314†). Further details are available at radare.today. The entry VDB-13413 is pretty similar. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

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

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Nikos Mavrogiannopoulos
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 74310
Nessus Name: CentOS 6 : gnutls (CESA-2014:0595)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 702944
OpenVAS Name: Debian Security Advisory DSA 2944-1 (gnutls26 - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍

Upgrade: GnuTLS 3.1.25/3.2.15/3.3.4
Patch: #8923804
Suricata ID: 2018537
Suricata Class: 🔍
Suricata Message: 🔍

TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

05/14/2014 🔍
05/23/2014 +9 days 🔍
05/23/2014 +0 days 🔍
05/29/2014 +6 days 🔍
05/30/2014 +1 days 🔍
05/30/2014 +0 days 🔍
06/01/2014 +2 days 🔍
06/02/2014 +1 days 🔍
06/02/2014 +0 days 🔍
06/02/2014 +0 days 🔍
06/03/2014 +1 days 🔍
06/05/2014 +2 days 🔍
06/20/2021 +2572 days 🔍

Sourcesinfo

Advisory: #8923804
Researcher: Nikos Mavrogiannopoulos
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2014-3466 (🔍)
GCVE (CVE): GCVE-0-2014-3466
GCVE (VulDB): GCVE-100-13407

OVAL: 🔍

X-Force: 93542 - GnuTLS Server Hello buffer overflow, High Risk
SecurityFocus: 67741 - GnuTLS 'gnutls_handshake.c' Memory Corruption Vulnerability
Secunia: 58340 - GnuTLS "read_server_hello()" Memory Corruption Vulnerability, Less Critical
SecurityTracker: 1030314 - GnuTLS Server Hello Session ID Buffer Overflow Lets Remote Users Execute Arbitrary Code
Vulnerability Center: 44704 - GnuTLS Client Remote Memory Corruption via Crafted ServerHello Message, High

scip Labs: https://www.scip.ch/en/?labs.20161013
Misc.: 🔍
See also: 🔍

Entryinfo

Created: 06/02/2014 12:04
Updated: 06/20/2021 14:19
Changes: 06/02/2014 12:04 (102), 05/29/2017 09:02 (13), 06/20/2021 14:19 (3)
Complete: 🔍
Cache ID: 216:A5F:103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!