Summary
FreeScout has server-side request forgery (SSRF) paths that can let authenticated users cause the application server to contact attacker-controlled or internal URLs. Depending on the path and configuration, this may expose internal HTTP responses or reveal whether internal ports are reachable; no unauthenticated SSRF path is established.
Affected context
The issue affects FreeScout's remote-file download, port-check, URL-sanitization, mailbox connection, and module update or installation paths when they process user-controlled hosts or URLs without consistently applying restricted-host checks at the request sink. Some paths can reach encoded or otherwise uncovered loopback and internal addresses. A redirect-validation bypass has an additional configuration dependency: a whitelist permits the original and final hosts, while a restricted internal host appears only as an intermediate redirect hop.
Exploit preconditions
- Attack surface: Outbound HTTP requests made by FreeScout during remote-file downloads, port checks, mailbox connection changes, or module update and installation operations.
- Required access: Authentication, plus permission to change mailbox connection settings or trigger the relevant module paths; an administrator may also supply attacker-controlled URLs or hosts.
- Trigger point: The application processes the supplied host or URL and makes an outbound request.
- Additional redirect condition: The redirect-validation bypass requires a whitelist that permits the original and final hosts while a restricted internal host appears as an intermediate hop.
- Why exploitation is possible: Restricted-host checks are not consistently enforced at the request sinks, allowing some requests to reach loopback or internal addresses.
- Unauthenticated access: No unauthenticated SSRF path is established.
Why this happens
The underlying issue is inconsistent validation of destinations for server-side network requests. URL checks that do not reliably cover encoded or otherwise unrecognized internal addresses, or that do not validate every redirect hop, can allow a request to reach a restricted destination. This is CWE-918: the application makes a request to a server-selected URL without adequately ensuring that the destination is permitted.
Potential impact
- The server may contact loopback or internal services that are not directly reachable by an external user.
- An attacker could use port-test behavior as a blind oracle to infer whether internal ports are reachable.
- Internal HTTP responses could be retrieved into application-controlled download sinks.
- Information accessible to the server on internal services could be exposed or misused.
General mitigation guidance
Defensive patterns focus on making outbound-request destination policy consistent and restrictive by default:
- Apply destination checks at every network-request sink, including after redirects.
- Prefer explicit allowlists of required hosts and protocols over broad URL acceptance.
- Normalize and resolve hostnames before policy evaluation, and account for alternate encodings and address representations.
- Restrict outbound network access from the application runtime so it cannot reach unnecessary internal services.
- Limit which authenticated roles can change connection settings or trigger module operations.
- Avoid returning internal response content or detailed connectivity results to users when those details are not required.
How teams detect issues like this
Review outbound HTTP call sites and trace whether user-controlled URLs, hostnames, and redirect targets receive the same destination-policy checks. Static analysis can flag request APIs that accept externally influenced values without nearby validation. Code review should look for checks performed only before a redirect, inconsistent URL normalization, and permissive host allowlists. Runtime and network policies can also alert on application requests to loopback, private, or otherwise disallowed address ranges. Automated code review tools may help identify these patterns.

