Question 400
At fictional Bayfield Energy Lab, a software-security team is conducting a planned system modernization within the approved release and rollback constraints. The case observation is: A messaging app fetches any user-supplied URL to generate a preview, including cloud metadata or private management endpoints. The team must select a defensible control or assessment. Which repeatable engineering safeguard would most directly reduce recurrence?
Explanation
Writer-proposed answer: D (UNVERIFIED)
Preliminary individual option explanations — NOT expert validated
Correct Answer
Server-side request forgery exploits a server's network position to access destinations unavailable to the requester. Attempts to reach private address ranges and metadata services are blocked even after redirects and DNS changes.
Incorrect Answers
This response concerns unsafe deserialization. Here, a messaging app fetches any user-supplied URL to generate a preview, including cloud metadata or private management endpoints. The confirming evidence is: Attempts to reach private address ranges and metadata services are blocked even after redirects and DNS changes.
Path traversal in document access concerns a different operational mechanism. Server-side request forgery exploits a server's network position to access destinations unavailable to the requester.
Focusing on parameterized database queries would leave this problem unresolved: A messaging app fetches any user-supplied URL to generate a preview, including cloud metadata or private management endpoints.