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

EC-CouncilCertified Ethical Hacker

Domain 5Objective 4

API and Webhook Hacking CEH Practice Questions (Page 2)

Part of the Web Application Hacking domain, which makes up ~8% of our current practice bank. EC-Council does not publish an official question count, but from its 240-minute exam (~95–160 total, ~8–13 in this domain), expect 2–3 from this objective — we provide 46 practice questions to prepare you well beyond it. (estimate)

46questions here
10free pages
8concepts

Questions 6–10

  1. 6application · medium

    A webhook receiver is designed to process event notifications from multiple external services. An attacker discovers that the endpoint does not limit the size of the payload and does not require authentication. The attacker sends a large number of oversized payloads simultaneously, causing the receiver to run out of memory and crash. Which two controls would best mitigate this attack?

    Select an answer first
  2. 7expert · hard

    A company's webhook endpoint processes events from multiple third-party services. Each event triggers a database write and an external API call. An attacker discovers that the endpoint does not validate the 'event_type' field and sends a large number of 'user.created' events with huge payloads, causing the database to fill up and the external API to be rate-limited. The company wants to mitigate this without blocking legitimate webhooks from trusted services. Which of the following is the most effective combination of controls?

    Select an answer first
  3. 8foundation · easy

    What is the primary purpose of implementing rate limiting on an API?

    Select an answer first
  4. 9expert · hard

    A company's webhook endpoint receives order updates from a supplier. The endpoint verifies the HMAC signature and then updates the order status in the database. A tester finds that by sending a webhook with a valid signature but an 'order_status' field set to 'cancelled', they can cancel an order that has already shipped. The supplier's system does not send 'cancelled' status after shipping. Which of the following is the most effective fix?

    Select an answer first
  5. 10application · medium

    A social media app allows users to update their profile via a PUT request to /api/v1/users/{id}. The backend uses a framework that automatically binds all request body fields to the user object. A user discovers they can set 'isAdmin' to true by adding that field to the request body. Which of the following is the most effective remediation?

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