CPython Man In The Middle Attack Vulnerability
🗓️ 04 Jul 2016 00:00:00Reported by Copyright (C) 2016 Greenbone AGType
openvas🔗 plugins.openvas.org👁 29 Views
| Reporter | Title | Published | Views | Family All 44 |
|---|---|---|---|---|
| Red Hat Software Collections Python Certificate Acquisition Vulnerability | 1 Jun 201600:00 | – | cnvd | |
| CVE-2013-7440 | 7 Jun 201618:00 | – | cve | |
| CVE-2013-7440 | 7 Jun 201618:00 | – | cvelist | |
| CVE-2013-7440 | 7 Jun 201618:00 | – | debiancve | |
| EulerOS 2.0 SP2 : bzr (EulerOS-SA-2020-1648) | 17 Jun 202000:00 | – | nessus | |
| Fedora 21 : bzr-2.6.0-7.fc21 (2015-11995) | 17 Aug 201500:00 | – | nessus | |
| Fedora 22 : bzr-2.6.0-8.fc22 (2015-12001) | 17 Aug 201500:00 | – | nessus | |
| Fedora 23 : python-pymongo-2.5.2-8.fc23 (2016-50abc3e885) | 4 Mar 201600:00 | – | nessus | |
| Fedora 22 : python-pymongo-2.5.2-8.fc22 (2016-52b294538d) | 4 Mar 201600:00 | – | nessus | |
| RHEL 6 / 7 : python27 (RHSA-2016:1166) | 24 Apr 202400:00 | – | nessus |
10
# SPDX-FileCopyrightText: 2016 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:python:python";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.107021");
script_version("2023-07-05T05:06:18+0000");
script_cve_id("CVE-2013-7440");
script_tag(name:"last_modification", value:"2023-07-05 05:06:18 +0000 (Wed, 05 Jul 2023)");
script_tag(name:"qod_type", value:"remote_banner_unreliable");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"creation_date", value:"2016-07-04 19:31:49 +0200 (Mon, 04 Jul 2016)");
script_tag(name:"cvss_base", value:"4.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2016-11-28 19:10:00 +0000 (Mon, 28 Nov 2016)");
script_name("CPython Man In The Middle Attack Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2016 Greenbone AG");
script_family("Web application abuses");
script_dependencies("gb_python_consolidation.nasl");
script_mandatory_keys("python/detected");
script_tag(name:"summary", value:"CPython suffers from a man in the middle attack vulnerability
via a crafted certificate.");
script_tag(name:"insight", value:"The ssl.match_hostname function in CPython does not properly
handle wildcards in hostnames, which might allow man-in-the-middle attackers to spoof servers
via a crafted certificate.");
script_tag(name:"impact", value:"Allows unauthorized modification.");
script_tag(name:"affected", value:"CPython before 2.7.9 and 3.x before 3.3.3.");
script_tag(name:"solution", value:"Update to version 2.7.9, 3.3.3 or later.");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if(isnull(port = get_app_port(cpe:CPE)))
exit(0);
if(!infos = get_app_version_and_location(cpe:CPE, port:port, exit_no_version:TRUE, version_regex:"^[0-9]+\.[0-9]+\.[0-9]+"))
exit(0);
vers = infos["version"];
path = infos["location"];
if(vers =~ "^3\.[0-3]" && version_is_less(version:vers, test_version:"3.3.3")) {
VUL = TRUE;
fix = "3.3.3 or later";
}
else if(version_is_less(version:vers, test_version:"2.7.9")) {
VUL = TRUE;
fix = "2.7.9 or later";
}
if(VUL) {
report = report_fixed_ver(installed_version:vers, fixed_version:fix, install_path:path);
security_message(port:port, data:report);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
05 Jul 2023 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 24.3
CVSS 35.9
EPSS0.01944