CVE-2022-29248
Guzzle Cookie Domain Hijacking Vulnerability
Description
Guzzle is a PHP HTTP client. Guzzle prior to versions 6.5.6 and 7.4.3 contains a vulnerability with the cookie middleware. The vulnerability is that it is not checked if the cookie domain equals the domain of the server which sets the cookie via the Set-Cookie header, allowing a malicious server to set cookies for unrelated domains. The cookie middleware is disabled by default, so most library consumers will not be affected by this issue. Only those who manually add the cookie middleware to the handler stack or construct the client with ['cookies' => true] are affected. Moreover, those who do not use the same Guzzle client to call multiple domains and have disabled redirect forwarding are not affected by this vulnerability. Guzzle versions 6.5.6 and 7.4.3 contain a patch for this issue. As a workaround, turn off the cookie middleware.
INFO
Published Date :
May 25, 2022, 6:15 p.m.
Last Modified :
July 21, 2023, 4:54 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
2.8
Affected Products
The following products are affected by CVE-2022-29248
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.
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-2022-29248
.
URL | Resource |
---|---|
https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab | Patch Third Party Advisory |
https://github.com/guzzle/guzzle/pull/3018 | Issue Tracking Patch Third Party Advisory |
https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3 | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5246 | Third Party Advisory |
https://www.drupal.org/sa-core-2022-010 | Patch Third Party Advisory |
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).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-29248
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-29248
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 -
Reanalysis by [email protected]
Jul. 21, 2023
Action Type Old Value New Value Added CWE NIST CWE-565 -
Modified Analysis by [email protected]
Dec. 03, 2022
Action Type Old Value New Value Changed Reference Type https://www.debian.org/security/2022/dsa-5246 No Types Assigned https://www.debian.org/security/2022/dsa-5246 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 06, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5246 [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 07, 2022
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:N) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N Changed Reference Type https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab No Types Assigned https://github.com/guzzle/guzzle/commit/74a8602c6faec9ef74b7a9391ac82c5e65b1cdab Patch, Third Party Advisory Changed Reference Type https://github.com/guzzle/guzzle/pull/3018 No Types Assigned https://github.com/guzzle/guzzle/pull/3018 Issue Tracking, Patch, Third Party Advisory Changed Reference Type https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3 No Types Assigned https://github.com/guzzle/guzzle/security/advisories/GHSA-cwmx-hcrq-mhc3 Third Party Advisory Changed Reference Type https://www.drupal.org/sa-core-2022-010 No Types Assigned https://www.drupal.org/sa-core-2022-010 Patch, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:* versions up to (excluding) 6.5.6 *cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.4.3 Added CPE Configuration OR *cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* versions from (including) 9.2.0 up to (excluding) 9.2.20 *cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* versions from (including) 9.3.0 up to (excluding) 9.3.14 -
CVE Modified by [email protected]
May. 25, 2022
Action Type Old Value New Value Added Reference https://www.drupal.org/sa-core-2022-010 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-29248
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-2022-29248
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.46 }} 0.23%
score
0.75738
percentile