CVE-2024-1727
published 2024-03-21CVE-2024-1727: A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running…
PriorityP418medium4.3CVSS 3.0
AVNACLPRNUIRSUCNINAL
EPSS
0.35%
27.1th percentile
A Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio allows attackers to upload multiple large files to a victim's system if they are running Gradio locally. By crafting a malicious HTML page that triggers an unauthorized file upload to the victim's server, an attacker can deplete the system's disk space, potentially leading to a denial of service. This issue affects the file upload functionality as implemented in gradio/routes.py.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gradio-app | gradio-app_gradio | >= unspecified < 4.19.2 | 4.19.2 |
| gradio_project | gradio | >= 0 < 4.19.2 | 4.19.2 |
| gradio_project | gradio | >= 4.16.0 < 4.19.2 | 4.19.2 |
CVSS provenance
nvdv3.04.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
ghsa4.3MEDIUM
osv4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
osv·2024-05-21·CVSS 4.3
CVE-2024-1727 [MEDIUM] Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
### Impact
This CVE covers the ability of 3rd party websites to access routes and upload files to users running Gradio applications locally. For example, the malicious owners of [www.dontvisitme.com](http://www.dontvisitme.com/) could put a script on their website that uploads a large file to http://localhost:7860/upload and anyone who visits their website and has a Gradio app will now have that large file uploaded on their computer
### Patches
Yes, the problem has been patched in Gradio version 4.19.2 or higher. We have no knowledge of this exploit being used against users of Gradio applications, but we encourage all users to upgrade to Gradio 4.19.2 or higher.
Fixed in: https://gi
GHSA
Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
ghsa·2024-05-21·CVSS 4.3
CVE-2024-1727 [MEDIUM] CWE-352 Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
Gradio applications running locally vulnerable to 3rd party websites accessing routes and uploading files
### Impact
This CVE covers the ability of 3rd party websites to access routes and upload files to users running Gradio applications locally. For example, the malicious owners of [www.dontvisitme.com](http://www.dontvisitme.com/) could put a script on their website that uploads a large file to http://localhost:7860/upload and anyone who visits their website and has a Gradio app will now have that large file uploaded on their computer
### Patches
Yes, the problem has been patched in Gradio version 4.19.2 or higher. We have no knowledge of this exploit being used against users of Gradio applications, but we encourage all users to upgrade to Gradio 4.19.2 or higher.
Fixed in: https://gi
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-03-21
Published