Tips

Server-side request forgery (SSRF) tips

Server-side request forgery makes the server send requests to addresses the attacker chooses, often reaching internal services or cloud metadata it should never expose. Any feature that fetches a URL for you is a candidate.

Published tips, newest first. Payloads and commands are shown as plain text.

Server-side request forgery (SSRF): how to hunt it

Where to look

  • Webhooks, link previews, PDF and image renderers, importers and integrations that fetch a URL you supply.
  • Redirects, DNS names that resolve to internal addresses, and other spellings of an IP address that get past a block-list.
  • Blind cases, confirmed by a callback to a server you control.
  • File formats and headers that carry URLs, such as SVG, XML and document templates.

What proves it

Show a response or callback only the target’s servers could have produced, such as an internal service’s banner, and stop before using any credentials you see.

Read further

Writeups on Server-side request forgery (SSRF), by hunters and researchers, most with a short summary.

Related classes