NVD Vulnerability Detail
Search Exploit, PoC
CVE-2022-29248
Summary

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.

Publication Date May 26, 2022, 3:15 a.m.
Registration Date May 26, 2022, 10 a.m.
Last Update Nov. 21, 2024, 3:58 p.m.
CVSS3.1 : HIGH
スコア 8.1
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
CVSS2.0 : MEDIUM
Score 5.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required はい
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:* 7.0.0 7.4.3
cpe:2.3:a:guzzlephp:guzzle:*:*:*:*:*:*:*:* 6.5.6
Configuration2 or higher or less more than less than
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* 9.2.0 9.2.20
cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:* 9.3.0 9.3.14
Configuration3 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
guzzlephp の guzzle 他複数ベンダの製品における検証および完全性チェックを行っていない Cookie への依存に関する脆弱性
Title guzzlephp の guzzle 他複数ベンダの製品における検証および完全性チェックを行っていない Cookie への依存に関する脆弱性
Summary

guzzlephp の guzzle 他複数ベンダの製品には、検証および完全性チェックを行っていない Cookie への依存に関する脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date May 25, 2022, midnight
Registration Date Aug. 14, 2023, 5:25 p.m.
Last Update Aug. 14, 2023, 5:25 p.m.
Affected System
guzzlephp
guzzle 6.5.6 未満
guzzle 7.0.0 以上 7.4.3 未満
Drupal
Drupal 9.2.0 以上 9.2.20 未満
Drupal 9.3.0 以上 9.3.14 未満
Debian
Debian GNU/Linux 11.0
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2023年08月14日]
  掲載
Aug. 14, 2023, 5:25 p.m.