CPython up to 2.7.8/3.3.2 sslmatch_hostname Hostname data processing

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

Summaryinfo

A vulnerability has been found in CPython up to 2.7.8/3.3.2 and classified as critical. This affects the function sslmatch_hostname. The manipulation of the argument Hostname leads to data processing. This vulnerability is referenced as CVE-2013-7440. Remote exploitation of the attack is possible. No exploit is available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in CPython up to 2.7.8/3.3.2 (Programming Language Software) and classified as critical. This issue affects the function sslmatch_hostname. The manipulation of the argument hostname with an unknown input leads to a data processing vulnerability. Using CWE to declare the problem leads to CWE-19. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

The ssl.match_hostname function in CPython (aka Python) before 2.7.9 and 3.x before 3.3.3 does not properly handle wildcards in hostnames, which might allow man-in-the-middle attackers to spoof servers via a crafted certificate.

The weakness was published 06/07/2016 by Martin (Website). It is possible to read the advisory at hg.python.org. The identification of this vulnerability is CVE-2013-7440 since 05/19/2015. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 85420 (Fedora 21 : bzr-2.6.0-7.fc21 (2015-11995)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 124707 (Fedora Security Update for python-pymongo (FEDORA-2016-52b294538d)).

Upgrading to version 2.7.9 or 3.3.3 eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (85420) and SecurityFocus (BID 74707†). Similar entry is available at VDB-65232. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.8

VulDB Base Score: 5.9
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.9
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Data processing
CWE: CWE-19
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 85420
Nessus Name: Fedora 21 : bzr-2.6.0-7.fc21 (2015-11995)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 855030
OpenVAS Name: Fedora Update for python-pymongo FEDORA-2016-52
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: CPython 2.7.9/3.3.3

Timelineinfo

05/17/2015 🔍
05/19/2015 +2 days 🔍
07/28/2015 +70 days 🔍
08/17/2015 +20 days 🔍
06/07/2016 +295 days 🔍
06/07/2016 +0 days 🔍
06/08/2016 +1 days 🔍
08/23/2022 +2267 days 🔍

Sourcesinfo

Advisory: RHSA-2016:1166
Researcher: Martin
Status: Not defined
Confirmation: 🔍

CVE: CVE-2013-7440 (🔍)
GCVE (CVE): GCVE-0-2013-7440
GCVE (VulDB): GCVE-100-87755
SecurityFocus: 74707 - Python 'ssl.match_hostname()' Function Security Bypass Vulnerability

See also: 🔍

Entryinfo

Created: 06/08/2016 10:14
Updated: 08/23/2022 08:11
Changes: 06/08/2016 10:14 (64), 01/08/2019 11:06 (15), 08/23/2022 08:11 (4)
Complete: 🔍
Cache ID: 216:901:103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!