An application security auditor reviews network traffic logs and backend code snippets for a cloud-hosted Web API. The audit reveals two specific behaviors:
1. When a client submits a malformed query request, the server responds with an HTTP 500 Internal Server Error containing full stack traces, database schema details, and unhandled exception data.
2. The endpoint `/api/v1/account` accepts a user-supplied parameter `account_id` and retrieves requested profile records without checking whether the requesting user's token has permission to access that specific account.
Which of the following application vulnerabilities are directly illustrated by these findings? (Select TWO).
- Improper error handling leading to sensitive information disclosureCevap
- Broken Object Level Authorization (BOLA) / Insecure Direct Object Reference (IDOR)Cevap
- CCross-Site Scripting (XSS) reflected through HTTP headers
- DLack of Multi-Factor Authentication (MFA) enforcement on identity endpoints
Cevap
The application exhibits improper error handling (information disclosure via raw stack traces) and Broken Object Level Authorization / Insecure Direct Object Reference (accessing unauthorized records via parameter manipulation).
The correct selections describe the two distinct findings in the scenario: exposing raw stack traces and internal schema information when errors occur is improper error handling, while trusting user-supplied resource identifiers without enforcing permissions is Insecure Direct Object Reference (IDOR) / Broken Object Level Authorization (BOLA).
Adım Adım Çözüm
Anahtar Kavram
Identifying application security vulnerabilities including information disclosure via improper error handling and authorization flaws like IDOR/BOLA.