🌐 SSRF: Internal Affairs
by ByteBandit
You know what's better than browsing the web? Making the *server* browse it for you.
SSRF — Server-Side Request Forgery — lets you trick the server into making requests on your behalf. Wanna talk to 127.0.0.1? Done. Want AWS metadata? Easy.
http://169.254.169.254/latest/meta-data/iam/security-credentials/
And if that app doesn’t filter internal IPs? You’re surfing the intranet from the outside like a ghost in the wires.
Mitigation? Validate URLs. Block private IP ranges. Use allowlists, not denylists. And for the love of root, don’t let the backend curl user input.
If the server’s making requests for strangers, it's not a service — it's an accomplice.
— ByteBandit 🛰️📡