NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-47084
Summary

Gradio is an open-source Python package designed for quick prototyping. This vulnerability is related to **CORS origin validation**, where the Gradio server fails to validate the request origin when a cookie is present. This allows an attacker’s website to make unauthorized requests to a local Gradio server. Potentially, attackers can upload files, steal authentication tokens, and access user data if the victim visits a malicious website while logged into Gradio. This impacts users who have deployed Gradio locally and use basic authentication. Users are advised to upgrade to `gradio>4.44` to address this issue. As a workaround, users can manually enforce stricter CORS origin validation by modifying the `CustomCORSMiddleware` class in their local Gradio server code. Specifically, they can bypass the condition that skips CORS validation for requests containing cookies to prevent potential exploitation.

Publication Date Oct. 11, 2024, 7:15 a.m.
Registration Date Oct. 11, 2024, noon
Last Update Oct. 18, 2024, 1:30 a.m.
CVSS3.1 : HIGH
スコア 8.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:* 4.44.0
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Gradio project の Python 用 Gradio における脆弱性
Title Gradio project の Python 用 Gradio における脆弱性
Summary

Gradio project の Python 用 Gradio には、不特定の脆弱性が存在します。

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

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

Publication Date Oct. 10, 2024, midnight
Registration Date Oct. 18, 2024, 10:37 a.m.
Last Update Oct. 18, 2024, 10:37 a.m.
Affected System
Gradio project
Gradio 4.44.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年10月18日]
  掲載
Oct. 18, 2024, 10:37 a.m.