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 | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
- 3.1.0
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.5
- 3.1.6
- 3.1.7
- 3.1.8
- 3.1.9
- 3.1.10
- 3.1.11
- 3.1.12
- 3.1.13
- 3.1.14
- 3.1.15
- 3.1.16
- 3.1.17
- 3.1.18
- 3.1.19
- 3.1.20
- 3.1.21
- 3.1.22
- 3.1.23
- 3.1.24
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.3
- 3.2.4
- 3.2.5
- 3.2.6
- 3.2.7
- 3.2.8
- 3.2.9
- 3.2.10
- 3.2.11
- 3.2.12
- 3.2.13
- 3.2.14
- 3.3.0
- 3.3.1
- 3.3.2
- 3.3.3
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 6.6
VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
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: 🔍
Timeline
05/14/2014 🔍05/23/2014 🔍
05/23/2014 🔍
05/29/2014 🔍
05/30/2014 🔍
05/30/2014 🔍
06/01/2014 🔍
06/02/2014 🔍
06/02/2014 🔍
06/02/2014 🔍
06/03/2014 🔍
06/05/2014 🔍
06/20/2021 🔍
Sources
Advisory: #8923804Researcher: 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: 🔍
Entry
Created: 06/02/2014 12:04Updated: 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.
No comments yet. Languages: en.
Please log in to comment.