Soru

Zorluk: OrtaApplication and Software Vulnerabilities

During a security review of a modern banking web application API, an analyst examines backend request logs and identifies two distinct malicious activity patterns:

1. Requests sent to `/api/v1/profile/upload` include multipart form payload parameters containing filename strings structured as `../../../../etc/passwd`.
2. Requests sent to `/api/v1/statements?account_id=1042` allow authenticated user `1042` to retrieve financial statements belonging to user `1043` simply by changing the `account_id` value in the URL query string.

Which of the following application and software vulnerabilities are directly demonstrated by these log findings? (Select TWO.)

  1. Directory traversalCevap
  2. Insecure Direct Object Reference (IDOR)Cevap
  3. C
    Cross-Site Scripting (XSS)
  4. D
    Broken Authentication

Cevap

The correct vulnerabilities demonstrated in the logs are Directory traversal and Insecure Direct Object Reference (IDOR).
The upload payload utilizes relative directory paths (`../`) to escape restricted directories and read host file paths, confirming a Directory Traversal flaw. The account statement request allows an authenticated user to access another user's records simply by changing an unvalidated URL parameter, confirming an Insecure Direct Object Reference (IDOR) flaw.

Adım Adım Çözüm

1
Analyze finding 1 (`../../../../etc/passwd`)
Identified path manipulation designed to escape the web root directory and read arbitrary system files.
The use of dot-dot-slash sequence payloads indicates a classic Directory Traversal vulnerability.
2
Analyze finding 2 (`account_id=1042` modified to `account_id=1043`)
Identified parameter tampering where an user manipulates a direct record identifier to view unauthorized resource data.
Exposing internal record keys in request parameters without enforcing server-side authorization checks is an Insecure Direct Object Reference (IDOR) flaw.

Anahtar Kavram

Application and Software Vulnerabilities (Directory Traversal & IDOR)
Tahmini Süre:1m 30s
Bu soruyu puanla