OpenSSL up to 1.0.1 ASN.1 Parser asn1_d2i_read_bio 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.
9.0$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Name

Version

License

Support

  • end of life (old version)

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.0

VulDB Base Score: 10.0
VulDB Temp Score: 9.0
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: Tavis Ormandy
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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 Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: OpenSSL 1.0.1a/1.0.0i/0.9.8v
Firewalling: 🔍

Timelineinfo

04/04/2012 🔍
04/19/2012 +15 days 🔍
04/19/2012 +0 days 🔍
04/19/2012 +0 days 🔍
04/19/2012 +0 days 🔍
04/19/2012 +0 days 🔍
04/19/2012 +0 days 🔍
04/19/2012 +0 days 🔍
04/19/2012 +0 days 🔍
04/20/2012 +1 days 🔍
04/20/2012 +0 days 🔍
04/24/2012 +4 days 🔍
07/12/2013 +444 days 🔍
11/24/2024 +4153 days 🔍

Sourcesinfo

Product: openssl.org

Advisory: 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: 🔍

Entryinfo

Created: 04/20/2012 17:24
Updated: 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

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!