
EC-CouncilWeb Application Hacking and Security
Domain 1Objective 1
Privilege Escalation WAHS Practice Questions (Page 4)
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 16–20
- 16
A content management system (CMS) has an admin panel at /admin. A standard user discovers that by directly navigating to /admin/users, they can view the user list without any error. The application relies on hiding the admin link from non-admin users. What is the most effective mitigation?
Select an answer first - 17
Which of the following is a common technique used to exploit vertical privilege escalation?
Select an answer first - 18
A web application has a 'user' role and an 'admin' role. A user discovers that by adding a 'role=admin' parameter to the profile update request, they can change their role. What is the most effective mitigation?
Select an answer first - 19
A large web application has multiple user roles (user, editor, admin) and uses a centralized authorization library. A recent penetration test found that some endpoints, such as /api/v1/reports, do not check the user's role and allow any authenticated user to access admin reports. The development team wants to fix this without breaking existing functionality. Which of the following approaches is the most secure and least likely to introduce regressions?
Select an answer first - 20
A web application uses a role-based access control (RBAC) system. A penetration test reveals that a low-privileged user can change their role by intercepting the request and modifying the 'role' parameter from 'user' to 'admin'. Which of the following is the most effective control to prevent 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.