Summary
FlareSolverr versions prior to 3.4.7 contain a server-side request forgery (SSRF) flaw in the /v1 API endpoint that lets attackers abuse the service as an HTTP proxy.
A remote attacker can coerce the server into making arbitrary outbound requests, potentially exposing sensitive internal resources and metadata.
Affected context
The vulnerability occurs in deployments of FlareSolverr that expose the /v1 API endpoint and accept user-supplied target URLs or similar parameters.
When the application forwards these requests without sufficient validation or destination restrictions, it can be tricked into contacting internal or otherwise restricted services on behalf of the attacker.
This typically arises where FlareSolverr is reachable from the internet or from untrusted clients and has network access to backend systems or cloud metadata services.
Exploit preconditions
- Attack surface: The publicly or internally exposed
/v1HTTP API endpoint. - Required access: Ability to send crafted requests to the FlareSolverr service; no prior authentication may be required depending on configuration.
- Trigger point: Supplying a malicious or internal URL (or equivalent parameter) that the
/v1endpoint uses to initiate outbound requests. - Why exploitation is possible: The endpoint forwards user-controlled URLs without enforcing strict allowlists, host/IP filtering, or scheme validation, enabling requests to internal networks or sensitive services.
Why this happens
This issue stems from treating user-supplied URLs or network destinations as inherently trustworthy and passing them directly into server-side HTTP requests.
Without robust validation and network egress controls, the application effectively becomes an SSRF-capable proxy that can reach internal or protected resources on behalf of an attacker.
Conceptually, this maps to CWE-918: Server-Side Request Forgery, where the server's own network position and trust relationships are abused by untrusted input controlling outbound connections.
Potential impact
- Access to internal web services that are not directly exposed to the internet.
- Retrieval of sensitive configuration data or metadata from internal or cloud provider endpoints.
- Discovery of internal network structure, hostnames, and available services.
- Use of the application as a pivot point for further attacks against backend systems.
General mitigation guidance
Effective mitigation generally focuses on constraining where the server can connect and how user input influences outbound requests.
Common defensive patterns include:
- Implementing strict allowlists of permitted domains, IP ranges, or paths for server-initiated HTTP requests.
- Rejecting requests to private, loopback, or link-local address ranges, and blocking access to cloud metadata endpoints.
- Validating and normalizing URLs server-side, including scheme checks and DNS re-resolution before connection.
- Segmenting network access so that application instances exposed to untrusted clients have minimal reach into internal services.
- Applying least-privilege principles to network egress policies and avoiding unnecessary outbound connectivity.
How teams detect issues like this
Organizations can detect SSRF risks and active abuse through several complementary approaches:
- Static analysis and code review rules that flag direct use of user-supplied URLs in HTTP client libraries or request functions.
- Security reviews focused on endpoints that accept URLs, hostnames, or similar parameters and initiate outbound connections.
- Network monitoring and logging of outbound requests from application instances, with alerts for connections to internal address ranges or unexpected destinations.
- Web application firewall (WAF) or reverse proxy rules that detect and block patterns indicative of SSRF attempts, such as accessing private IP addresses or metadata endpoints.

