CVE-2024-4940
Open Redirect in gradio-app/gradio
Record summary
CVE-2024-4940 has a selected CVSS score of 6.1 (medium); EIP currently links 1 Nuclei template.
Description
An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Jun 24, 2024 · Source: CVE List
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
gradio-app/gradioBrowse gradio-app / gradio-app/gradio | CVE List | Through latest | affected |
Default status: unknown | CVE List | 4.36.0 | affected |
gradioBrowse PyPI / gradio | GitHub Advisory | Through 4.36.1 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMGradio - Open RedirectCVSS 5.4
An open redirect vulnerability exists in the gradio-app/gradio, affecting the latest version. The vulnerability allows an attacker to redirect users to arbitrary websites, which can be exploited for phishing attacks, Cross-site Scripting (XSS), Server-Side Request Forgery (SSRF), amongst others. This issue is due to improper validation of user-supplied input in the handling of URLs. Attackers can exploit this vulnerability by crafting a malicious URL that, when processed by the application, redirects the user to an attacker-controlled web page.
Impact
Attackers can redirect users to malicious websites via open redirect, potentially enabling phishing attacks.
Remediation
Update Gradio to a version that patches the open redirect vulnerability.
Source: ProjectDiscovery