OpenSSL 1.0.1n/1.0.1o/1.0.2b/1.0.2c x509 Basic Constraints crypto/x509/x509_vfy.c X509_verify_cert 7pk security

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

A vulnerability was found in OpenSSL 1.0.1n/1.0.1o/1.0.2b/1.0.2c (Network Encryption Software). It has been declared as critical. This vulnerability affects the function X509_verify_cert of the file crypto/x509/x509_vfy.c of the component x509 Basic Constraints Handler. The manipulation with an unknown input leads to a 7pk security vulnerability. The CWE definition for the vulnerability is CWE-254. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

The X509_verify_cert function in crypto/x509/x509_vfy.c in OpenSSL 1.0.1n, 1.0.1o, 1.0.2b, and 1.0.2c does not properly process X.509 Basic Constraints cA values during identification of alternative certificate chains, which allows remote attackers to spoof a Certification Authority role and trigger unintended certificate verifications via a valid leaf certificate.

The issue has been introduced in 06/11/2015. The weakness was shared 07/09/2015 with Oracle as confirmed git commit (GIT Repository). The advisory is available at git.openssl.org. This vulnerability was named CVE-2015-1793 since 02/17/2015. 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. This vulnerability is assigned to T1211 by the MITRE ATT&CK project. Responsible for the vulnerability is the following code:

ctx->last_untrusted--;

It is possible to download the exploit at exploit-db.com. It is declared as highly functional. The vulnerability was handled as a non-public zero-day exploit for at least 28 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 84647 (Amazon Linux AMI : openssl (ALAS-2015-564)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 86487 (HP System Management Homepage Multiple Vulnerabilities (HPSBMU03546)).

Upgrading to version 1.0.1p or 1.0.2d eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.openssl.org. The problem might be mitigated by replacing the product with BoringSSL as an alternative. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published before and not just after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

ctx->last_untrusted = sk_X509_num(ctx->chain);
Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 20122.

The vulnerability is also documented in the databases at X-Force (104500), Exploit-DB (38640), Tenable (84647), SecurityFocus (BID 91787†) and Vulnerability Center (SBV-52055†). The entries VDB-78584, VDB-78603, VDB-78601 and VDB-78562 are related to this item.

Productinfo

Type

Name

Version

License

Support

  • end of life (old version)

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.5
VulDB Meta Temp Score: 6.3

VulDB Base Score: 6.5
VulDB Temp Score: 6.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: 7pk security
CWE: CWE-254
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 84647
Nessus Name: Amazon Linux AMI : openssl (ALAS-2015-564)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: ALAS-2015-564
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: openssl_altchainsforgery_mitm_proxy.rb
MetaSploit Name: OpenSSL Alternative Chains Certificate Forgery MITM Proxy
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: OpenSSL 1.0.1p/1.0.2d
Patch: 9a0db453ba017ebcaccbee933ee6511a9ae4d1c8
Alternative: BoringSSL
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Timelineinfo

02/17/2015 🔍
06/11/2015 +114 days 🔍
07/09/2015 +27 days 🔍
07/09/2015 +0 days 🔍
07/09/2015 +0 days 🔍
07/09/2015 +0 days 🔍
07/10/2015 +1 days 🔍
07/13/2015 +2 days 🔍
08/17/2015 +35 days 🔍
07/15/2016 +333 days 🔍
06/25/2024 +2902 days 🔍

Sourcesinfo

Product: openssl.org

Advisory: git.openssl.org
Organization: Oracle
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-1793 (🔍)
OVAL: 🔍

X-Force: 104500 - OpenSSL certificate chain logic security bypass
SecurityFocus: 91787 - Oracle July 2016 Critical Patch Update Multiple Vulnerabilities
SecurityTracker: 1032817
Vulnerability Center: 52055 - OpenSSL Remote Bypass Restrictions via Untrusted Certificates, Medium

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

Entryinfo

Created: 07/10/2015 09:36 AM
Updated: 06/25/2024 06:10 AM
Changes: 07/10/2015 09:36 AM (71), 09/21/2018 10:28 AM (32), 05/23/2022 06:49 PM (4), 05/23/2022 06:57 PM (10), 06/25/2024 06:10 AM (20)
Complete: 🔍
Cache ID: 18:8FB:40

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!