Skip to content
Chaos Lab

Challenge 27 · intermediate · Link previews

SSRF: the preview that fetched the keys

Users paste a link and the server fetches it to show a title and image. The server runs inside the cloud network, next to the metadata service at 169.254.169.254, which hands out the server's cloud credentials, and an internal admin API with no login of its own. About 30% of real links redirect once (http to https, link shorteners). At 10 seconds an attacker starts submitting preview URLs that point inside, using five tricks: the plain address, the same address as one decimal number, a DNS name that resolves to it, DNS rebinding, and a public page that redirects inside.

From 10 to 40 seconds, refuse every attacker request and keep at least 99% of real previews working. This is a fictional, self-contained simulation.

ready00:00 / 00:40Success · 10 s–p99 · 10 s–Leaked0 responses

Goal · measured 00:10–00:40

0 changes · par 2
  • Attacker requests refused ≥ 100.0%not measured yet
  • Real previews working ≥ 99.0%not measured yet

This is a simulation. Its numbers come from a model of a typical system, not from measuring real servers. The same link and seed always give the same run. How the Chaos Lab works.