5.9
MEDIUM CVSS 3.0
CVE-2013-7440
Python SSL Wildcard Certificate Spoofing
Description

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.

INFO

Published Date :

June 7, 2016, 6:59 p.m.

Last Modified :

April 12, 2025, 10:46 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2013-7440 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 MEDIUM [email protected]
Solution
Update Python to a patched version to address the SSL wildcard certificate spoofing vulnerability.
  • Upgrade Python to version 2.7.9 or later.
  • Upgrade Python to version 3.3.3 or later.
Public PoC/Exploit Available at Github

CVE-2013-7440 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2013-7440 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2013-7440 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Python script to summarize the data retrieved from a search at CVEDetails.com

cve cvedetails scrapper scrapper-script summary

Python

Updated: 1 year, 3 months ago
0 stars 0 fork 0 watcher
Born at : April 22, 2024, 7:50 p.m. This repo has been linked 7 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2013-7440 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2013-7440 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://seclists.org/oss-sec/2015/q2/483
    Added Reference http://seclists.org/oss-sec/2015/q2/523
    Added Reference http://www.securityfocus.com/bid/74707
    Added Reference https://access.redhat.com/errata/RHSA-2016:1166
    Added Reference https://bugs.python.org/issue17997
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1224999
    Added Reference https://hg.python.org/cpython/rev/10d0edadbcdd
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/74707 [No Types Assigned]
  • Modified Analysis by [email protected]

    Jun. 08, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:python:python:2.7.8:*:*:*:*:*:*:* (and previous) Configuration 2 OR *cpe:2.3:a:python:python:3.3.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.1:rc1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3:beta2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.6:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.2150:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2.0:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2:alpha:*:*:*:*:*:* *cpe:2.3:a:python:python:3.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.5:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.4:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.3:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.2150:*:*:*:*:*:x64:* *cpe:2.3:a:python:python:3.1.2:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.0.1:*:*:*:*:*:*:* *cpe:2.3:a:python:python:3.0:*:*:*:*:*:*:*
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
    Added CWE CWE-19
  • Initial Analysis by [email protected]

    Jun. 08, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 5.9
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.38 }} -0.07%

score

0.58794

percentile