CVE-2024-2206
Last modified
CVE-2024-2206 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the `/proxy` route. Attackers can exploit this vulnerability by manipulating the `self.replica_urls` set through the `X-Direct-Url` header in requests to the `/` and `/config` routes, allowing the addition of arbitrary URLs for proxying. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
Description
An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the `/proxy` route. Attackers can exploit this vulnerability by manipulating the `self.replica_urls` set through the `X-Direct-Url` header in requests to the `/` and `/config` routes, allowing the addition of arbitrary URLs for proxying. This flaw enables unauthorized proxying of requests and potential access to internal endpoints within the Hugging Face space. The issue arises from the application's inadequate checking of safe URLs in the `build_proxy_request` function.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gradio Project | Gradio | >= 3.47.1, < 4.18.0 |
References
- https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98eExploit, Third Party Advisory
- https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98eExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-2206?
How severe is CVE-2024-2206?
How do I fix CVE-2024-2206?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-22051CommonMarker versions prior to 0.23.4 are at risk of an inte…9.8
- CVE-2024-22052A null pointer dereference vulnerability in IPSec component …7.5
- CVE-2024-22053A heap overflow vulnerability in IPSec component of Ivanti C…8.2
- CVE-2024-22054A malformed discovery packet sent by a malicious actor with …7.5
- CVE-2024-22058A buffer overflow allows a low privilege user on the local m…7.8
- CVE-2024-22059A SQL injection vulnerability in web component of Ivanti Neu…8.8
- CVE-2024-22060An unrestricted file upload vulnerability in web component o…4.9
- CVE-2024-22061A Heap Overflow vulnerability in WLInfoRailService component…9.8
- CVE-2024-22062There is a permissions and access control vulnerability in Z…8.8
- CVE-2024-22063The ZENIC ONE R58 products by ZTE Corporation have a command…9
- CVE-2024-22064ZTE ZXUN-ePDG product, which serves as the network node of t…6.5
- CVE-2024-22065There is a command injection vulnerability in ZTE MF258 Pro …8.8
Are you affected by CVE-2024-2206?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
