atototo api-lab-mcp Server-Side Request Forgery Vulnerability

Vulnerability

A server-side request forgery (SSRF) vulnerability has been identified in atototo api-lab-mcp versions through 0.2.1. The vulnerability exists in the HTTP interface, specifically within the tools 'analyze_api_spec', 'generate_test_scenarios', and 'test_http_endpoint'. The issue arises because the 'source' and 'url' arguments are not properly sanitized before being used in outbound HTTP requests. This flaw allows attackers to manipulate these arguments, causing the server to make unauthorized requests to internal services, cloud metadata endpoints, or other restricted locations. Such actions could lead to unauthorized information disclosure and further compromise.

Impact

Exploitation of this vulnerability allows for server-side request forgery, where an attacker can make the server perform requests on their behalf. This could be used to access internal services or metadata endpoints that are not normally reachable from the outside, potentially leading to sensitive information being exposed or other security controls being bypassed.

Reproduction

To reproduce this vulnerability, send a request to the MCP/HTTP interface of the affected api-lab-mcp deployment. Include a 'source' or 'url' argument with a crafted URL that points to an internal service or metadata endpoint. The request will be processed by one of the vulnerable tools, and the server will make an outbound request to the specified URL, demonstrating the server-side request forgery vulnerability.

Remediation

No specific remediation is known at this time.

Added: Apr 9, 2026, 2:21 AM
Updated: Apr 9, 2026, 2:21 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.4
exploitability
8.2
remediation
0.0
relevance
5.4
threat
6.4
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.