Skip to content
ShankarStack
HighSSRF

Server-Side Request Forgery (SSRF)

An application can be induced to make server-side requests to unintended destinations.

SSRF occurs when a server fetches a URL influenced by user input without adequately restricting the destination.

Root cause

The server trusts a user-controllable destination for outbound requests.

Impact

Can expose internal services or metadata not reachable externally, depending on network design.

Detection methodology

Identify features that fetch remote resources; verify destination allow-listing and network egress controls in an authorised test.

Remediation

Use strict allow-lists, resolve and validate destinations, block internal ranges and cloud metadata endpoints, and segment egress.

Secure coding guidance

Never send requests to raw user-supplied URLs; validate against an allow-list and enforce network-level egress controls.