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

EC-CouncilWeb Application Hacking and Security

Domain 1Objective 1

Privilege Escalation WAHS Practice Questions (Page 5)

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 21–25

  1. 21application · medium

    A web application allows users to view their own invoices via a URL like /invoice?id=1001. A penetration tester discovers that changing the id parameter to 1002 displays another user's invoice. Which of the following is the most appropriate immediate fix?

    Select an answer first
  2. 22expert · hard

    A web application has an API that allows users to update their profile. The API accepts a 'userId' parameter in the request body. A user changes the 'userId' to another user's ID and successfully updates that user's email address. The application uses session-based authentication. What is the most effective fix?

    Select an answer first
  3. 23application · medium

    An application uses a JWT token stored in a cookie to identify the user. The token contains a 'role' claim. A user modifies the token's role from 'user' to 'admin' and re-encodes it, gaining admin access. What is the most likely root cause and the best fix?

    Select an answer first
  4. 24expert · hard

    A company has a legacy web application with multiple admin functions scattered across different controllers. A security audit finds that some admin functions lack authorization checks. The team wants to fix this without rewriting the entire application. What is the most practical approach?

    Select an answer first
  5. 25foundation · easy

    A web application has an administrative panel at /admin. The application only hides the link to this panel from regular users, but does not enforce any server-side authorization check. A regular user directly navigates to /admin and gains access. Which vulnerability is this?

    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.