Server-Side Request Forgery (SSRF) in gradio
CVE-2024-48052
- gradio
- gradio-ui
Summary
In gradio the "gr.DownloadButton" function has a hidden server-side request forgery (SSRF) vulnerability. The reason is that within the "save_url_to_cache" function, there are no restrictions on the URL, which allows access to local target resources. This can lead to the download of local resources and sensitive information.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- LOW
- HIGH
- NONE
CWE-918 - Server-Side Request Forgery (SSRF)
Server-side request forgery (SSRF) is a weakness that allows an attacker to send an arbitrary request, making it appear that the request was sent by the server. This request may bypass a firewall that would normally prevent direct access to the URL. The impact of this vulnerability can vary from unauthorized access to files and sensitive information to remote code execution.
References
Advisory Timeline
- Published