Gradio UploadButton Component Vulnerable to Local File Inclusion
CVE-2024-1728

7.5HIGH

Key Information:

Vendor

Gradio-app

Vendor
CVE Published:
10 April 2024

What is CVE-2024-1728?

Gradio, a popular framework for building machine learning applications, has a local file inclusion vulnerability resulting from inadequate validation of user-supplied input within the UploadButton component. This flaw enables attackers to exploit the system by crafting malicious requests that manipulate the file path directed to the /queue/join endpoint. As a consequence, arbitrary files on the server's filesystem can be accessed, including sensitive files like private SSH keys. This vulnerability highlights critical weaknesses in the file upload process, as it permits unintended file redirections, potentially paving the way for more severe attacks, including remote code execution.

Affected Version(s)

gradio-app/gradio < 4.19.2

References

EPSS Score

76% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.