Definition

Server-Side Request Forgery (SSRF) occurs when an attacker tricks a server into making HTTP requests to unintended destinations.

This allows the attacker to:


Core idea

Instead of attacking a system directly, the attacker uses a trusted server as a proxy to:


How SSRF works

  1. API accepts a URL from a user
  2. Server processes the URL and makes a request
  3. Attacker manipulates the URL to point to:

Example attack input