CVE-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 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.
Configurations

No configuration.

History

21 Nov 2024, 08:51

Type Values Removed Values Added
References () https://github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a - () https://github.com/gradio-app/gradio/commit/84802ee6a4806c25287344dce581f9548a99834a -
References () https://huntr.com/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff - () https://huntr.com/bounties/a94d55fb-0770-4cbe-9b20-97a978a2ffff -

16 Apr 2024, 12:15

Type Values Removed Values Added
Summary (en) To prevent malicious 3rd party websites from making requests to Gradio applications running locally, this PR tightens the CORS rules around Gradio applications. In particular, it checks to see if the host header is localhost (or one of its aliases) and if so, it requires the origin header (if present) to be localhost (or one of its aliases) as well. (en) 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.

22 Mar 2024, 12:45

Type Values Removed Values Added
Summary
  • (es) Para evitar que sitios web maliciosos de terceros realicen solicitudes a aplicaciones de Gradio que se ejecutan localmente, este PR endurece las reglas CORS en torno a las aplicaciones de Gradio. En particular, verifica si el encabezado del host es localhost (o uno de sus alias) y, de ser así, requiere que el encabezado de origen (si está presente) también sea localhost (o uno de sus alias).

21 Mar 2024, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-03-21 20:15

Updated : 2024-11-21 08:51


NVD link : CVE-2024-1727

Mitre link : CVE-2024-1727

CVE.ORG link : CVE-2024-1727


JSON object : View

Products Affected

No product.

CWE
CWE-352

Cross-Site Request Forgery (CSRF)