OpenSSL up to 1.0.1 ASN.1 Parser asn1_d2i_read_bio memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 9.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in OpenSSL up to 1.0.1. This affects the function asn1_d2i_read_bio of the component ASN.1 Parser. Executing a manipulation can lead to memory corruption.
This vulnerability is registered as CVE-2012-2110. Furthermore, an exploit is available.
The affected component should be upgraded.
Details
A vulnerability has been found in OpenSSL up to 1.0.1 (Network Encryption Software) and classified as critical. This vulnerability affects the function asn1_d2i_read_bio of the component ASN.1 Parser. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
The asn1_d2i_read_bio function in crypto/asn1/a_d2i_fp.c in OpenSSL before 0.9.8v, 1.0.0 before 1.0.0i, and 1.0.1 before 1.0.1a does not properly interpret integer data, which allows remote attackers to conduct buffer overflow attacks, and cause a denial of service (memory corruption) or possibly have unspecified other impact, via crafted DER data, as demonstrated by an X.509 certificate or an RSA public key.
The weakness was published 04/19/2012 by Tavis Ormandy (@taviso) with Google Security Team (Website). The advisory is shared for download at openssl.org. The public release has been coordinated with the vendor. This vulnerability was named CVE-2012-2110 since 04/04/2012. The exploitation appears to be difficult. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known.
A public exploit has been developed by Tavis Ormandy and been published immediately after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 68672 (Oracle Linux 4 : openssl (ELSA-2012-2011)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Oracle Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 216036 (VMware ESXi and ESX Third Party Libraries Updates (VMSA-2012-0013)).
Upgrading to version 1.0.1a, 1.0.0i or 0.9.8v eliminates this vulnerability.Proper firewalling of tcp/443 (https) is able to address this issue. 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 is also documented in the databases at X-Force (74926), Exploit-DB (18756), Tenable (68672), SecurityFocus (BID 53158†) and OSVDB (81223†). Similar entries are available at VDB-4416, VDB-56641, VDB-60957 and VDB-60833. Once again VulDB remains the best source for vulnerability data.
Product
Type
Name
Version
License
Support
- end of life (old version)
Website
- Product: https://www.openssl.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.0
VulDB Base Score: 10.0
VulDB Temp Score: 9.0
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: Tavis Ormandy
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 68672
Nessus Name: Oracle Linux 4 : openssl (ELSA-2012-2011)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 71259
OpenVAS Name: Debian Security Advisory DSA 2454-1 (openssl)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Exploit Delay Time: 🔍
Upgrade: OpenSSL 1.0.1a/1.0.0i/0.9.8v
Firewalling: 🔍
Timeline
04/04/2012 🔍04/19/2012 🔍
04/19/2012 🔍
04/19/2012 🔍
04/19/2012 🔍
04/19/2012 🔍
04/19/2012 🔍
04/19/2012 🔍
04/19/2012 🔍
04/20/2012 🔍
04/20/2012 🔍
04/24/2012 🔍
07/12/2013 🔍
11/24/2024 🔍
Sources
Product: openssl.orgAdvisory: openssl.org
Researcher: Tavis Ormandy (@taviso)
Organization: Google Security Team
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2012-2110 (🔍)
GCVE (CVE): GCVE-0-2012-2110
GCVE (VulDB): GCVE-100-5260
OVAL: 🔍
IAVM: 🔍
X-Force: 74926
SecurityFocus: 53158 - OpenSSL Encoded ASN.1 Data Integer Truncation Memory Corruption Vulnerability
Secunia: 48999
OSVDB: 81223
SecurityTracker: 1026957 - OpenSSL asn1_d2i_read_bio() Buffer Overflow Lets Remote Users Execute Arbitrary Code
Vulnerability Center: 34950 - OpenSSL \x27asn1_d2i_read_bio\x27 Buffer Overflow Allows Remote DoS via Crafted DER Data, Medium
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 04/20/2012 17:24Updated: 11/24/2024 02:18
Changes: 04/20/2012 17:24 (84), 04/11/2017 11:01 (18), 03/23/2021 16:08 (2), 11/24/2024 02:18 (14)
Complete: 🔍
Cache ID: 216:937:103
No comments yet. Languages: en.
Please log in to comment.