Flyto2 Coreにサーバー側リクエスト偽造の脆弱性、内部サービスの情報が漏えいするおそれ
概要
Flyto2 Coreのhttp.paginateで、サーバーが返す次ページのURLが再検証されずに従われるため、内部サービスやメタデータサービスの応答が取得され、結果に含まれるおそれがあります。影響するのは2.26.8より前の版で、2.26.8で修正されています。2.26.8以降へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Flyto2 Coreのhttp.paginateで、サーバーが返す次ページのURLが再検証されずに従われるため、内部サービスやメタデータサービスの応答が取得され、結果に含まれるおそれがあります。影響するのは2.26.8より前の版で、2.26.8で修正されています。2.26.8以降へ更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| flytohubflyto-core | — | 記載なし |
| pipflyto-core |
2.26.8 未満→ 2.26.8 |
2.26.8 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Summary
http.paginate validates only the initial base_url, then follows server-supplied pagination targets (RFC 5988 Link: rel="next" headers, cursor/offset URLs) in a loop without revalidating each follow-up URL. An attacker's first-page response can point next at an internal address, causing a second-order SSRF whose internal body is aggregated into the returned items.
Root Cause
src/core/modules/atomic/http/paginate.py:495 validates base_url (first URL only). The pagination loop _paginate_link_header reads next_url via _parse_link_header (:203), sets url=next_url (:208), and calls session.request(method, url) (:196) with NO validate call in the loop (:186-208 has zero guard calls).
Impact
Readable second-order SSRF that bypasses the SSRF control; internal/metadata body aggregated into all_items and returned to the caller (C:H, S:C).
Proof of Concept
Verified live: http.paginate with allowlisted base 127.0.0.1 followed a Link: ; rel="next" (non-allowlisted) and returned INTERNAL-NEXTPAGE-SECRET in the aggregated items.
execute_module http.paginate {"url":"http://attacker.tld/p1","strategy":"link_header"}
attacker p1 response header: Link: /latest/meta-data/>; rel="next"
Attack Chain
- Entry:
http.paginate {url:"http://attacker.tld/p1", strategy:"link_header"}. Guard:validate_url_with_env_config(base_url)(paginate.py:495) — validates the FIRST url only. - Sink:
_paginate_link_headerreadsnext_url(`_…
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- web github.com
- web github.com
- web github.com
- web github.com