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

EC-CouncilCertified Ethical Hacker

Domain 5Objective 4

API and Webhook Hacking CEH Practice Questions (Page 1)

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 1–5

  1. 1expert · hard

    A company exposes a REST API for internal use. The API is protected by an API gateway that enforces authentication. A security assessment reveals that the API returns detailed error messages (e.g., 'SQL syntax error at line 1') and that the gateway allows the TRACE method. An attacker uses the TRACE method to reflect a token stored in a cookie. Which of the following is the most effective remediation?

    Select an answer first
  2. 2application · medium

    A company uses a webhook to receive order status updates from a partner. The webhook endpoint processes the payload and updates the internal database. A tester discovers that the endpoint does not verify any signature and that the payload contains a 'status' field that is directly inserted into a SQL query. Which two vulnerabilities are present?

    Select an answer first
  3. 3foundation · easy

    An attacker sends webhook requests with extremely large payloads to a receiver that processes each payload in memory. What is the likely impact?

    Select an answer first
  4. 4application · medium

    During an API assessment, a tester discovers that the server responds to OPTIONS requests with a list of allowed methods including DELETE. The tester sends a DELETE request to /api/v1/users/123 and the account is deleted. The API documentation states that DELETE should only be available to administrators. Which vulnerability is being exploited, and what is the most direct mitigation?

    Select an answer first
  5. 5application · medium

    A webhook endpoint for a CI/CD system accepts a 'repository_url' field and passes it to a shell command to clone the repository. A tester sends a webhook with 'repository_url' set to 'https://example.com/repo.git; cat /etc/passwd'. The endpoint executes the command and returns the file contents. Which of the following is the most effective fix?

    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.