PT-2023-31833
CVE-2023-51449
·
Published
2023-12-21
·
Updated
2024-09-24
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Gradio versions prior to 4.11.0
Description
The issue concerns a vulnerability in the
/file route of Gradio, making it susceptible to file traversal attacks. An attacker could access arbitrary files on a machine running a Gradio app with a public URL if they knew the path of files to look for. This was possible through programmatic tools such as curl with the --pass-as-is flag, but not through regular URLs passed into a browser. Additionally, the /file route was vulnerable to Server-Side Request Forgery (SSRF) attacks.Recommendations
For Gradio versions prior to 4.11.0, update to version 4.11.0 to resolve the issue. As a temporary workaround, consider restricting access to the
/file route to minimize the risk of exploitation. Avoid using the /file route in Gradio apps until the issue is resolved.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾