
EC-CouncilCertified Application Security Engineer (Java)
Domain 4Objective 1
Common Threats on Authentication and Authorization CASEJAVA Practice Questions (Page 8)
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 36–40
- 36
A Java application for an online banking platform uses a single sign-on (SSO) system. The SSO system issues a token that is valid for 8 hours. The application does not validate the token's audience and does not check if the user's session has been revoked. An attacker who steals a valid token from a user can use it for up to 8 hours, even if the user changes their password. What is the most significant business impact of this flaw?
Select an answer first - 37
A Java web application uses a single sign-on (SSO) system with SAML. A security audit finds that the application does not validate the SAML response's signature correctly, allowing an attacker to forge a response and log in as any user. The development team is considering two fixes: (1) implement proper signature validation, or (2) add an additional factor to the application login. Which fix is more appropriate, and why?
Select an answer first - 38
A Java application allows users to upload profile pictures. A security review finds that the application does not validate the file type and stores uploads in a web-accessible directory. An attacker uploads a JSP file that executes server-side code. Which type of attack is this, and which control would have prevented it?
Select an answer first - 39
A Java application has an admin panel that is only accessible to users with the 'admin' role. The application uses a filter to check the role, but the filter is only applied to the /admin path, not to /admin/../admin or other path variations. An attacker discovers that they can access the admin panel by requesting /admin/../admin. What is the most likely authorization threat?
Select an answer first - 40
A Java application has an authorization flaw that allows a low-privileged user to access a high-privileged function by sending a crafted request. The application is deployed in a multi-tenant environment where each tenant has its own data. The flaw is discovered during a penetration test. The business wants to fix it quickly, but the development team is concerned about breaking existing functionality. Which approach best balances security and business continuity?
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.