
EC-CouncilWeb Application Hacking and Security
Domain 1Objective 1
Privilege Escalation WAHS Practice Questions (Page 6)
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 26–30
- 26
A file-sharing application allows users to download files via /download?file=report.pdf. A user discovers that by changing the filename to 'admin_notes.pdf', they can download a file belonging to an administrator. The application stores files in a directory with the owner's username as a subdirectory. Which of the following is the best fix?
Select an answer first - 27
A development team is fixing a privilege escalation vulnerability where a user can access another user's private messages by changing a numeric message ID in the URL. They plan to add a check that compares the message owner ID with the session user ID. Which additional control should they implement to prevent attackers from bypassing this check?
Select an answer first - 28
A support portal allows customers to view their tickets via /ticket?id=123. A customer discovers that by changing the id to 456, they can view another customer's ticket. The application uses a shared database and the ticket records include a 'customer_id' field. Which of the following is the best way to fix this vulnerability?
Select an answer first - 29
An e-commerce site allows users to view their orders via a URL like /order?id=12345. A penetration tester discovers that changing the id to another user's order number displays that order's details. What is the most appropriate classification and mitigation?
Select an answer first - 30
A company is implementing a new authorization system to prevent privilege escalation. They want to ensure that a user cannot access admin functions even if they guess the URL. Which approach is the most effective?
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.