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

EC-CouncilWeb Application Hacking and Security

Domain 1Objective 4

API Abuse WAHS Practice Questions (Page 13)

Part of the Broken Access Control domain, which makes up ~23% of our current practice bank. EC-Council does not publish an official question count, but from its 360-minute exam (~145–240 total, ~33–55 in this domain), expect 7–11 from this objective — we provide 63 practice questions to prepare you well beyond it. (estimate)

63questions here
13free pages
14concepts

Questions 61–63

  1. 61application · medium

    A REST API endpoint /api/v1/search?q= accepts a search term and directly concatenates it into a SQL query. An attacker submits q=' OR '1'='1 and retrieves all records from the users table, including password hashes. Which two weaknesses are present?

    Select an answer first
  2. 62application · medium

    A web application has an API endpoint that allows users to search for products: GET /api/products?category=electronics. The category parameter is directly inserted into a SQL query without sanitization. An attacker sends the following request: GET /api/products?category=electronics' OR '1'='1. Which of the following is the most likely outcome?

    Select an answer first
  3. 63application · medium

    A financial services API allows unlimited login attempts on its /api/v1/auth/login endpoint. An attacker uses a list of common passwords against a known username and eventually gains access. Which two security controls, if implemented, would most directly mitigate this attack?

    Select an answer first
Finished these 3 questions?

Review the revealed explanations, or continue through the curriculum.

No more pagesBack to WAHS

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. “WAHS” is a trademark of its owner, used for identification only.