
EC-CouncilCertified Application Security Engineer (Java)
Domain 4Objective 1
Common Threats on Authentication and Authorization CASEJAVA Practice Questions (Page 4)
Part of the Secure Coding: Authentication and Authorization domain, which makes up ~11% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–9 in this domain), expect 3–5 from this objective — we provide 41 practice questions to prepare you well beyond it. (estimate)
41questions here
9free pages
3concepts
Questions 16–20
- 16
A Java web application allows users to view their own orders via a URL like /order?id=12345. A penetration test reveals that changing the id parameter to another user's order returns that order's details. The application uses session-based authentication and checks that the user is logged in, but does not verify that the order belongs to the logged-in user. Which two controls would most directly fix this vulnerability and prevent similar IDOR issues?
Select an answer first - 17
A Java application has a URL pattern /admin/* that is protected by a security filter. However, the application also uses URL rewriting to handle pretty URLs, and the filter is applied before URL rewriting. An attacker discovers that they can access admin functionality by requesting a URL that, after rewriting, maps to /admin/dashboard. What is the most likely cause of this authorization bypass?
Select an answer first - 18
A Java web application uses a session cookie that is valid for 24 hours. A user reports that after changing their password, they are still able to access their account without re-authenticating on another device. What is the most likely cause and the appropriate fix?
Select an answer first - 19
A web application uses a numeric identifier in the URL to display user profile details. An attacker changes the identifier to another user's number and views that user's private data without authorization. Which authorization threat does this illustrate?
Select an answer first - 20
An attacker discovers that by manually entering the URL for an admin panel (e.g., /admin) they can access administrative functions even though no link to that page is shown in the user interface. Which authorization threat 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. “CASEJAVA” is a trademark of its owner, used for identification only.