CVE-2024-47167
概要

Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **Server-Side Request Forgery (SSRF)** in the `/queue/join` endpoint. Gradio’s `async_save_url_to_cache` function allows attackers to force the Gradio server to send HTTP requests to user-controlled URLs. This could enable attackers to target internal servers or services within a local network and possibly exfiltrate data or cause unwanted internal requests. Additionally, the content from these URLs is stored locally, making it easier for attackers to upload potentially malicious files to the server. This impacts users deploying Gradio servers that use components like the Video component which involve URL fetching. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can disable or heavily restrict URL-based inputs in their Gradio applications to trusted domains only. Additionally, implementing stricter URL validation (such as allowinglist-based validation) and ensuring that local or internal network addresses cannot be requested via the `/queue/join` endpoint can help mitigate the risk of SSRF attacks.

公表日 2024年10月11日7:15
登録日 2024年10月11日12:00
最終更新日 2024年10月18日1:53
CVSS3.1 : CRITICAL
スコア 9.8
ベクター CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* 5.0.0
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
Gradio project の Python 用 Gradio におけるサーバサイドのリクエストフォージェリの脆弱性
タイトル Gradio project の Python 用 Gradio におけるサーバサイドのリクエストフォージェリの脆弱性
概要

Gradio project の Python 用 Gradio には、サーバサイドのリクエストフォージェリの脆弱性が存在します。

想定される影響 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
対策

参考情報を参照して適切な対策を実施してください。

公表日 2024年10月10日0:00
登録日 2024年10月18日12:41
最終更新日 2024年10月18日12:41
影響を受けるシステム
Gradio project
Gradio 5.0.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2024年10月18日]   掲載 2024年10月18日12:22