A penetration tester discovers a web application that fetches URLs from user input without proper validation. The tester targets the internal cloud metadata endpoint at 169.254.169.254 to retrieve instance credentials. Which type of attack is this?
SSRF (Server-Side Request Forgery) occurs when an attacker controls the URL that the server fetches, enabling requests to internal IPs, localhost, or cloud metadata services. The described web application that fetches URLs is a textbook SSRF vector: it lets the server make arbitrary outbound HTTP requests, bypassing network perimeters. This can expose internal services, credentials, or sensitive data, making SSRF the correct classification.
Why this answer
SSRF (Server-Side Request Forgery) occurs when the server makes requests to internal resources based on user input, and the cloud metadata endpoint is a common target.