| タイトル | benoitcのhackneyにおけるオープンリダイレクトの脆弱性 |
|---|---|
| 概要 | benoitc hackneyにおける機密データ漏洩の脆弱性により、埋め込まれた機密データを取得することが可能です。src/hackney_h3.erlのHTTP/3リダイレクトハンドラは、クロスオリジンチェックを行わずに元のリクエストヘッダーをリダイレクト先にそのまま渡します。クライアントがfollow_redirectを有効にしてAuthorizationまたはCookieヘッダーを含むHTTP/3リクエストを発行した場合、3xxリダイレクトで異なるホストに応答するサーバーは、これらの資格情報を新しいオリジンにそのまま転送してしまいます。メインのhackney.erlモジュールにはlocation_trustedオプションで保護されたmaybe_strip_auth_on_redirect/2がありますが、hackney_h3.erlにはこの保護が全く存在しません。この問題はhackneyのバージョン3.1.1から4.0.1の間に影響を与えます。 |
| 想定される影響 | ・当該ソフトウェアが扱う情報の一部が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアは停止しません。 |
| 対策 | ベンダ情報を参照して適切な対策を実施してください。 |
| 公表日 | 2026年5月25日0:00 |
| 登録日 | 2026年5月29日11:19 |
| 最終更新日 | 2026年5月29日11:19 |
| CVSS3.0 : 警告 | |
| スコア | 6.1 |
|---|---|
| ベクター | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| benoitc |
| hackney 3.1.1 以上 4.0.1 未満 |
| No | 変更内容 | 変更日 |
|---|---|---|
| 1 | [2026年05月29日] 掲載 |
2026年5月29日11:19 |
| 概要 | Sensitive Data Exposure vulnerability in benoitc hackney allows Retrieve Embedded Sensitive Data. The HTTP/3 redirect handler in src/hackney_h3.erl passes the original request headers unchanged to the redirect target without performing any cross-origin check. When a client issues an HTTP/3 request with follow_redirect enabled and includes Authorization or Cookie headers, a server responding with a 3xx redirect to a different host will cause the client to forward those credentials verbatim to the new origin. The main hackney.erl module has maybe_strip_auth_on_redirect/2 (guarded by the location_trusted option) to address CVE-2018-1000007, but hackney_h3.erl is missing this protection entirely. This issue affects hackney: from 3.1.1 before 4.0.1. |
|---|---|
| 公表日 | 2026年5月26日0:16 |
| 登録日 | 2026年5月27日4:07 |
| 最終更新日 | 2026年5月27日22:55 |
| 構成1 | 以上 | 以下 | より上 | 未満 | |
| cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:* | 3.1.1 | 4.0.1 | |||