A security team conducts an audit on a cloud-native microservices application and identifies two critical software defects in the API gateway:
1. An endpoint accepts user-supplied URL parameters to fetch remote image assets, allowing an attacker to compel the server to send HTTP requests to internal cloud metadata IP addresses ().
2. Logged-in users can view and update other customers' private profile records simply by altering an account ID integer in the request parameters.
Which of the following vulnerability classifications and remediation strategies correctly address these security findings? (Select TWO).
- The issue involving forced internal request generation is Server-Side Request Forgery (SSRF), which should be remediated by implementing strict URL allowlists and blocking access to cloud metadata IP addresses.Answer
- The issue involving unauthorized access via modified parameter identifiers is an Insecure Direct Object Reference (IDOR), which should be remediated by enforcing server-side object-level authorization checks.Answer
- CThe parameter manipulation issue is caused by a missing authentication control, which should be resolved by prompting users to re-enter credentials before processing profile updates.
- DDeploying a perimeter stateful network firewall is the primary code-level control required to neutralize the server-initiated HTTP request vulnerability.
Answer
The findings represent Server-Side Request Forgery (SSRF), which requires URL allowlisting and blocking metadata IP addresses, and Insecure Direct Object Reference (IDOR), which requires enforcing server-side object-level authorization checks.
The first defect allows an attacker to manipulate server-initiated requests to internal infrastructure (such as cloud instance metadata services), defining Server-Side Request Forgery (SSRF). Effective remediation requires URL allowlisting and restricting access to internal IP ranges. The second defect allows authenticated users to access resources belonging to others by modifying record identifiers, defining Insecure Direct Object Reference (IDOR). Effective remediation requires enforcing object-level authorization checks on the server.
Step-by-Step Solution
Key Concept
Application Vulnerability Identification and Remediation (SSRF and IDOR/BOLA)