Goal Reached Thanks to every supporter β€” we hit 100%!

Goal: 1000 CNY Β· Raised: 1000 CNY

100.0%

CVE-2023-51449 β€” AI Deep Analysis Summary

CVSS 5.6 Β· Medium

Q1What is this vulnerability? (Essence + Consequences)

🚨 **Essence**: Gradio < 4.11.0 suffers from a **Path Traversal** vulnerability in the `/file` endpoint.…

Q2Root Cause? (CWE/Flaw)

πŸ›‘οΈ **Root Cause**: **CWE-22** (Improper Limitation of a Pathname to a Restricted Directory).…

Q3Who is affected? (Versions/Components)

🎯 **Affected**: **Gradio** Python library. Specifically versions **before 4.11.0**. Note: POCs suggest it may also affect versions **< 3.33** depending on configuration. πŸ“¦ Vendor: `gradio-app`.

Q4What can hackers do? (Privileges/Data)

πŸ’€ **Attacker Capabilities**: With **Low Privileges** (or None), hackers can read sensitive server files (e.g., config files, source code, env vars).…

Q5Is exploitation threshold high? (Auth/Config)

βš–οΈ **Exploitation Threshold**: **Medium**. CVSS indicates **High** Attack Complexity (AC:H). It requires specific knowledge of the `/file` endpoint structure.…

Q6Is there a public Exp? (PoC/Wild Exploitation)

πŸ”“ **Public Exploits**: **YES**. Multiple PoCs are available on GitHub (e.g., ProjectDiscovery Nuclei templates, Vulhub). Wild exploitation is possible if the target is running an unpatched version.

Q7How to self-check? (Features/Scanning)

πŸ” **Self-Check**: Scan for the Gradio `/file` endpoint. Use tools like **Nuclei** with the specific CVE-2023-51449 template. Check if you can retrieve files outside the static directory using `../` sequences.

Q8Is it fixed officially? (Patch/Mitigation)

βœ… **Official Fix**: **YES**. The vulnerability was patched in **Gradio 4.11.0**. See GitHub commit `1b9d423` and Security Advisory `GHSA-6qm2-wpxq-7qh2` for details. πŸ› οΈ

Q9What if no patch? (Workaround)

🚧 **No Patch Workaround**: If you cannot upgrade immediately: 1. **Disable** the `/file` endpoint if not needed. 2. Implement **WAF rules** to block `../` in URL paths. 3.…

Q10Is it urgent? (Priority Suggestion)

⏰ **Urgency**: **High Priority**. Since PoCs are public and no auth is required, automated scanners are likely already hunting for this. Update to **v4.11.0+** immediately to prevent data leaks. πŸƒβ€β™‚οΈπŸ’¨