Question 380
An assessment report describes this situation: A training image-fetch API accepts arbitrary user-supplied URLs and its server can access internal-only service endpoints. Which evidence would best distinguish the suspected cause?
Explanation
Correct Answer
Inspect URL validation, DNS resolution behavior, egress allowlists and internal destination logs. The authorized fictional case states: A training image-fetch API accepts arbitrary user-supplied URLs and its server can access internal-only service endpoints. The underlying principle is that server-side request forgery crosses network trust boundaries through a server's outbound requests. This is the strongest diagnostic evidence for this specific scenario because it addresses the documented trust boundary and constraints, rather than merely another possible security consideration. That evidence distinguishes the hypothesis 'An application-layer URL fetch can reach destinations clients cannot contact directly.' from unrelated conditions. A suitable follow-up is: Restrict fetch targets to approved domains and deny private and metadata endpoints.
Incorrect Answers
Cross-site request forgery can abuse ambient browser credentials on state-changing actions. The reason this does not settle the present case is the actual condition: An application-layer URL fetch can reach destinations clients cannot contact directly.
JWT claims are not trustworthy unless signature, algorithm, issuer, audience and expiry are checked. The records needed for this specific case concern: Inspect URL validation, DNS resolution behavior, egress allowlists and internal destination logs.
Untrusted data reflected into HTML or script contexts can execute in visitors' browsers. The current corrective requirement is: Restrict fetch targets to approved domains and deny private and metadata endpoints.