Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilWeb Application Hacking and Security

Domain 1Objective 1

Privilege Escalation WAHS Practice Questions (Page 7)

Part of the Broken Access Control domain, which makes up ~23% of our current practice bank. EC-Council does not publish an official question count, but from its 360-minute exam (~145–240 total, ~33–55 in this domain), expect 7–11 from this objective — we provide 39 practice questions to prepare you well beyond it. (estimate)

39questions here
8free pages
5concepts

Questions 31–35

  1. 31application · medium

    During a security review, a tester finds that a regular user can access the /admin/deleteUser endpoint by directly navigating to it, even though the UI does not show the link. What type of privilege escalation is this, and what is the root cause?

    Select an answer first
  2. 32application · medium

    A security audit reveals that a web application's API allows a user to view other users' invoices by changing the 'invoice_id' in the request. The application uses a session cookie for authentication but does not check if the invoice belongs to the user. What is the most accurate description of this vulnerability?

    Select an answer first
  3. 33expert · hard

    A web application uses a microservices architecture. The frontend service communicates with a backend service using a shared API key. A penetration tester discovers that by modifying the 'X-User-Role' header in requests to the backend, they can access admin functions. The backend trusts this header. Which of the following is the most effective mitigation?

    Select an answer first
  4. 34application · medium

    A web application allows users to update their profile by sending a POST request to /profile/update. The request includes a 'user_id' field. A user changes the 'user_id' to another user's ID and successfully updates that user's email address. What is the most effective mitigation?

    Select an answer first
  5. 35expert · hard

    A web application has a feature that allows users to change their password. The password change request includes the current password and the new password. A penetration tester finds that by removing the 'currentPassword' field from the request, the server accepts the change without verifying the current password. This allows an attacker who has stolen a session token to change the victim's password. Which of the following is the most effective mitigation?

    Select an answer first
Finished these 5 questions?

Review the revealed explanations, or continue through the curriculum.

Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “WAHS” is a trademark of its owner, used for identification only.