SecurityContext

CVE-2024-4325: gradio-app/gradio - Server-Side Request Forgery

  • Cve: CVE-2024-4325
  • Name: gradio-app/gradio - Server-Side Request Forgery
  • Description: A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio version 4.21.0, specifically within the `/queue/join` endpoint and the `save_url_to_cache` function. The vulnerability arises when the `path` value, obtained from the user and expected to be a URL, is used to make an HTTP request without sufficient validation checks. This flaw allows an attacker to send crafted requests that could lead to unauthorized access to the local network or the AWS metadata endpoint, thereby compromising the security of internal servers.
  • Impact: Attackers can access internal network resources or sensitive endpoints like AWS metadata, leading to potential data exposure or server compromise.
  • Remediation: Implement proper validation and sanitization of user-supplied URLs, and update to the latest version if available.
  • Vulnerability type: server_side_request_forgery
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
  • Epss score: 0.37114
  • Epss percentile: 0.9854
  • Assignee: [email protected]
  • Published at: 2024-06-06T18:15:18Z
  • Age in days: 901
  • Modified at: 2026-06-17T08:01:40Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-4325
  • Nvd status: modified
  • Checked, none or zero: public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-918Server-Side Request Forgery

Known exploited entries

ListAdded dateDue dateRansomware use
vulncheck2024-09-25—no

Nuclei templates

IdUrl
CVE-2024-4325https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-4325.yaml

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/b34f084b-7d14-4f00-bc10-048a3a5aaf88nvd2024-06-06

References

UrlSourceTags
https://huntr.com/bounties/b34f084b-7d14-4f00-bc10-048a3a5aaf88nvdExploit, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-4325.yamlnuclei_templateNuclei Template
https://bsky.app/profile/shadowserver.bsky.social/post/3l52cmd5l6j2uvulncheckVulncheck Reported Exploitation
https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2024-4325vulncheckVulncheck Reported Exploitation

Products

ProductAffectedPlatform boundSourcesUrl
gradio_project:gradio< 4.41.0nonvd/v1/products/gradio_project/gradio

Projects

RepositoryLink kindsIndexedUrl
gradio-app/gradiopackage, pullyes/v1/repositories/gradio-app/gradio

Index

  • Repositories: 452
  • Repositories high signal: 268
  • Packages: 1

Exploitation

  • Known exploited by: vulncheck
  • Vulncheck known exploited since: 2024-09-25
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-06-06
  • Remote: yes
  • Exposed hosts: 2932
  • Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
  • Not known: known exploited since, initial access since, hackerone reports

Nuclei template