Apex › Security & web

SSRF — server-side request forgery

When an app fetches a URL you control, point it inward. The server sits inside a trusted network, so "fetch this image" becomes "fetch the cloud metadata endpoint" — out come the IAM credentials (the Capital One breach). Then produce the bypass a string denylist can’t stop: feed it the SAME internal IP written as decimal (2852039166), hex, or octal — the OS resolver accepts it, but the filter never sees "169.254.169.254", so it sails past to credential theft. Switch to "resolve + check the IP" and that same bypass is caught. Real inet_aton decoder from ssrf.ts.

More in Security & web