
EC-CouncilCertified Application Security Engineer (.NET)
Domain 1Objective 2
Most Common Application-Level Attacks CASENET Practice Questions (Page 5)
Part of the Application Security Foundations domain, which makes up ~12% of our current practice bank. EC-Council does not publish an official question count, but from its 120-minute exam (~50–80 total, ~6–10 in this domain), expect 2–3 from this objective — we provide 28 practice questions to prepare you well beyond it. (estimate)
28questions here
6free pages
4concepts
Questions 21–25
- 21
A .NET application has a search feature that uses a stored procedure to query a database. The stored procedure builds a dynamic SQL statement using the search term. The application also uses output caching for search results. An attacker submits a search term that causes the stored procedure to return all users. Which attack is this, and why is output caching a concern?
Select an answer first - 22
A security analyst reviews IIS logs for a .NET application and notices many requests to /Account/Login with a 'username' parameter containing strings like 'admin' OR '1'='1' and also requests with a 'returnUrl' parameter containing javascript:alert(1). Which two attack types are indicated by these log entries?
Select an answer first - 23
A .NET MVC application renders user-generated comments using @Html.Raw(Model.Comment). A user reports that their browser executes a script that steals cookies. Which vulnerability is being exploited, and what is the immediate fix?
Select an answer first - 24
A .NET application has a legacy endpoint that accepts XML and uses XmlDocument. The team is migrating to a new API that will accept JSON. The migration must be completed quickly, and the XML endpoint will remain for backward compatibility for six months. Which approach best balances security and business constraints?
Select an answer first - 25
A .NET application allows users to search for products. The search results page reflects the search term in the page title without encoding. An attacker crafts a URL that, when clicked, executes script in the user's browser. Which attack is this, and what is the best mitigation?
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.