GitHub Advisoryadvisory · PyPI
GHSA-qh6x-j82h-vpf9 gradio Server-Side Request Forgery vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2024-1183
- Ecosystem
- PyPI
- Packages
- gradio
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-601
- Reviewed
- 2024-04-16
Affected packages
• PyPI gradio: < 4.10.0 → fixed in 4.10.0
Description
An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attackers to scan and identify open ports within an internal network. By manipulating the 'file' parameter in a GET request, an attacker can discern the status of internal ports based on the presence of a 'Location' header or a 'File not allowed' error in the response.
Related
Alias · CVE (1)
- CVE-2024-1183 An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attackers to scan and identify… vulnerability
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-1183 advisory
- https://github.com/gradio-app/gradio/commit/2ad3d9e7ec6c8eeea59774265b44f11df7394bb4 web
- https://github.com/gradio-app/gradio/commit/7ba8c5da45b004edd12c0460be9222f5b5f5f055 web
- https://github.com/gradio-app/gradio package
- https://huntr.com/bounties/103434f9-87d2-42ea-9907-194a3c25007c web