الرئيسية
الرئيسية
الاتجاهات
الاتجاهات
الثغرات
الثغرات
الأخبار
الأخبار
الباحثون
الباحثون
لماذا dbugs؟
لماذا dbugs؟
الإعدادات

Ifratric

#45176من 60,627
6.9إجمالي CVSS
الثغرات · 1
PT-2024-34882
2024-11-06
6.9
CVE-2024-51751
Gradio
Gradio
The issue allows an attacker with access to the application to abuse File or UploadButton components and read arbitrary files from the application server. This is possible because the `client utils.is file obj with meta` function is not guaranteed to trigger for every input that contains a file path, allowing an attacker to control the path and read files. The vulnerability can be exploited by making a request to the `/gradio api/run/predict` API endpoint with a specially crafted payload. For example, an attacker can send a request with a `path` parameter set to `/etc/passwd` to read the contents of the `/etc/passwd` file. The `processing utils.async move files to cache` function is used to sanitize incoming file paths, but it relies on the `client utils.is file obj with meta` function to filter inputs, which can be bypassed.