Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
EC-Council logo

EC-CouncilCertified Application Security Engineer (.NET)

Domain 3Objective 2

Input Validation for Web Forms CASENET Practice Questions (Page 5)

Part of the Secure Coding: Input Validation 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 2–2 from this objective — we provide 34 practice questions to prepare you well beyond it. (estimate)

34questions here
7free pages
8concepts

Questions 21–25

  1. 21application · medium

    An e-commerce application has a search form that takes a product name and displays matching results. A penetration test revealed that submitting the string `' OR '1'='1` in the search field returns all products in the database. The application uses parameterized queries for the search. Which additional vulnerability is most likely present?

    Select an answer first
  2. 22application · medium

    A web application has a form field for a user's age. The requirement is to accept only integers between 18 and 99. The current implementation uses a blacklist that rejects the string 'DROP TABLE' and other SQL keywords. Which of the following is the most secure approach to validate this field?

    Select an answer first
  3. 23foundation · easy

    Which validation approach is generally more secure for validating user input?

    Select an answer first
  4. 24foundation · easy

    A web form accepts a username and displays it on a profile page. If the input is not validated or encoded, which vulnerability is most likely to occur?

    Select an answer first
  5. 25expert · hard

    A security review of an ASP.NET application reveals that a registration form has client-side validation using JavaScript, but no server-side validation. The form includes fields for username, email, and password. An attacker can bypass the client-side validation and submit malicious data directly to the server. Which combination of actions should the developer take to mitigate the risk?

    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.