What is SSRF and why is it especially dangerous in cloud environments?
AdvancedConceptFoundations, Threat Modeling and OWASP
Answer
SSRF makes the server issue requests on the attacker's behalf, for instance a "fetch image from URL" feature pointed at http://169.254.169.254/latest/meta-data/iam/security-credentials/. In cloud, the instance metadata service hands out IAM role credentials, so SSRF becomes credential theft.
Mitigations: enforce IMDSv2 (HttpTokens=required, hop limit 1), egress allow-lists, URL validation that resolves DNS and blocks private and link-local ranges (including after redirects), and least-privilege instance roles so stolen creds are not catastrophic.
More on Foundations, Threat Modeling and OWASP
What is DevSecOps, and how is it different from DevOps?BeginnerWhat does "shift-left" mean?BeginnerIf we shift left, why do we still need "shift-right" controls?IntermediateWhat are the phases of a secure SDLC and a security activity for each?BeginnerExplain the CIA triad with a DevOps example for each property.BeginnerWhat is threat modeling and when should you do it?Beginner