CY.II · CySA+ CS0-004 practice question
An e-commerce site's shipping calculator accepts a user-supplied URL to fetch an external rate image. An attacker submits an internal cloud metadata IP address and retrieves temporary IAM credentials from the server's response. Which vulnerability was exploited?
Check answer and explanation
Correct answer: Server-Side Request Forgery (SSRF)
Explanation
SSRF abuses a server's URL-fetching functionality to reach internal-only services such as cloud instance metadata endpoints.
Common trap
SSRF abuses a server's URL-fetching functionality to reach internal-only services such as cloud instance metadata endpoints.
Source: Original unofficial practice; not an official CompTIA exam item
Checked against the cited text on 2026-11-30.