CVE-2018-20852
Apache HTTP Server Cookie Validation Bug
Description
http.cookiejar.DefaultPolicy.domain_return_ok in Lib/http/cookiejar.py in Python before 3.7.3 does not correctly validate the domain: it can be tricked into sending existing cookies to the wrong server. An attacker may abuse this flaw by using a server with a hostname that has another valid hostname as a suffix (e.g., pythonicexample.com to steal cookies for example.com). When a program uses http.cookiejar.DefaultPolicy and tries to do an HTTP connection to an attacker-controlled server, existing cookies can be leaked to the attacker. This affects 2.x through 2.7.16, 3.x before 3.4.10, 3.5.x before 3.5.7, 3.6.x before 3.6.9, and 3.7.x before 3.7.3.
INFO
Published Date :
July 13, 2019, 9:15 p.m.
Last Modified :
Nov. 7, 2023, 2:56 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
1.4
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2018-20852 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2018-20852
.
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).
Map Vulnerabilities into Different Layers of the Container Image
Python
Test container known to be vulnerable. Do NOT use this apart from for testing
Dockerfile
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2018-20852
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2018-20852
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 [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/ -
CVE Modified by [email protected]
Aug. 22, 2020
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html [No Types Assigned] -
CVE Modified by [email protected]
Jul. 15, 2020
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html [No Types Assigned] -
CVE Modified by [email protected]
Apr. 15, 2020
Action Type Old Value New Value Added Reference https://www.oracle.com/security-alerts/cpuapr2020.html [No Types Assigned] -
CVE Modified by [email protected]
Mar. 15, 2020
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/202003-26 [No Types Assigned] -
CVE Modified by [email protected]
Jan. 21, 2020
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html [No Types Assigned] -
CVE Modified by [email protected]
Nov. 25, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:3948 [No Types Assigned] -
CVE Modified by [email protected]
Nov. 10, 2019
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/COATURTCY7G67AYI6UDV5B2JZTBCKIDX/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 10, 2019
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/ZBTGPBUABGXZ7WH7677OEM3NSP6ZEA76/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 09, 2019
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/K7HNVIFMETMFWWWUNTB72KYJYXCZOS5V/ [No Types Assigned] -
CVE Modified by [email protected]
Nov. 06, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:3725 [No Types Assigned] -
CVE Modified by [email protected]
Sep. 18, 2019
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4127-1/ [No Types Assigned] -
CVE Modified by [email protected]
Sep. 10, 2019
Action Type Old Value New Value Added Reference https://usn.ubuntu.com/4127-2/ [No Types Assigned] -
CVE Modified by [email protected]
Sep. 01, 2019
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2019/08/msg00040.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 23, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00074.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 23, 2019
Action Type Old Value New Value Added Reference http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00071.html [No Types Assigned] -
CVE Modified by [email protected]
Aug. 17, 2019
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2019/08/msg00022.html [No Types Assigned] -
Initial Analysis by [email protected]
Jul. 18, 2019
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Changed Reference Type https://bugs.python.org/issue35121 No Types Assigned https://bugs.python.org/issue35121 Exploit, Issue Tracking, Vendor Advisory Changed Reference Type https://python-security.readthedocs.io/vuln/cookie-domain-check.html No Types Assigned https://python-security.readthedocs.io/vuln/cookie-domain-check.html Vendor Advisory Added CWE CWE-20 Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 2.0 up to (including) 2.7.16 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.4.10 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (excluding) 3.5.7 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.6.0 up to (excluding) 3.6.9 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.7.0 up to (excluding) 3.7.3
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2018-20852
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-2018-20852
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.52 }} 0.03%
score
0.76826
percentile