| शीर्षक | dmitryglhf mcp-url-downloader 0.1.0 Server-Side Request Forgery |
|---|
| विवरण | mcp-url-downloader attempts to defend against SSRF by resolving the caller-supplied URL and blocking localhost, RFC1918, and link-local addresses. However, the protection is only applied to the original URL. The actual download code creates an httpx.AsyncClient(..., follow_redirects=True) and performs both HEAD and GET requests without validating the redirect targets.
As a result, an attacker can supply a publicly reachable URL they control that responds with 302 or 307 redirects to an internal resource such as http://127.0.0.1:8080/, http://x.x.x.x/latest/meta-data/, or another private service reachable from the host. The downloader will follow the redirect automatically and save the internal response body to disk.
|
|---|
| स्रोत | ⚠️ https://github.com/dmitryglhf/url-download-mcp/issues/2 |
|---|
| उपयोगकर्ता | SmallW (UID 97245) |
|---|
| सबमिशन | 10/04/2026 01:33 PM (6 महीनों पहले) |
|---|
| संयम | 26/04/2026 10:12 PM (16 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 359757 [dmitryglhf mcp-url-downloader तक 4b8cf2de55f6e8864a77d108e8a94a5b8e4394c6 server.py _validate_url_safe url अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|