← back to room
SSRF

Basic SSRF

Scenario

FetchBot's URL fetch form retrieves any address the server can reach. Internal cloud metadata lives at a link-local address vendors use for instance info. Make the fetcher retrieve that internal resource.

Your approach

  1. Submit a benign external URL to see normal fetch behaviour.
  2. Try the cloud metadata IP in the url parameter.
  3. Read the simulated metadata body returned by the lab.
  4. Extract the flag embedded in the metadata response.
  5. Submit the metadata flag.
The fetcher requests whatever URL you give it. Reach the internal metadata service at http://169.254.169.254/.
Sandbox note: all fetches hit a simulated internal network; no real requests leave the server.

URL fetcher