
EC-CouncilCertified Application Security Engineer (.NET)
Domain 4Objective 1
Common Threats on User Authentication and Authorization CASENET Practice Questions (Page 1)
Part of the Secure Coding: Authentication and Authorization domain, which makes up ~7% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~4–6 in this domain), expect 1–2 from this objective — we provide 37 practice questions to prepare you well beyond it. (estimate)
37questions here
8free pages
4concepts
Questions 1–5
- 1
A web application uses token-based authentication with JWTs stored in localStorage. A security review identifies that the JWT is not signed with a strong algorithm. An attacker can modify the token's payload to change the role from 'User' to 'Admin'. What is the most effective mitigation?
Select an answer first - 2
A company is designing a new web application that will handle sensitive customer data. The security architect must choose an authentication mechanism that resists session hijacking and credential theft while also supporting single sign-on across multiple internal applications. The organization already uses Active Directory. Which approach is most appropriate?
Select an answer first - 3
A user changes a numeric ID in the URL from 'profile?id=100' to 'profile?id=101' and views another user's private data. Which authorization threat does this represent?
Select an answer first - 4
A security auditor is reviewing an application that uses role-based access control. The auditor finds that a user with the 'Viewer' role can access an administrative function by directly entering the URL. The application's menu does not show the admin link to viewers. Which control is missing?
Select an answer first - 5
A content management system allows authors to edit their own articles. The application uses a role-based access control (RBAC) system where the 'Author' role can edit articles they own, and the 'Editor' role can edit any article. A bug is discovered: any authenticated user can send a POST request to the edit endpoint with an article ID and the system does not check ownership. The application also has an admin panel that is not linked in the UI but is accessible by guessing the URL. Which two authorization flaws are present?
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. “CASENET” is a trademark of its owner, used for identification only.