🔥 40% Off Crucial Exams Memberships — Deal ends today!

Certified Ethical Hacker (CEH) Practice Question

During a grey-box assessment of an organization's RESTful web service, the tester obtains a valid API key tied to account ID 164. The endpoint /api/v2/users/164 responds with that user's details, but no other authentication controls are observed. Which single request would best confirm a Broken Object Level Authorization (BOLA) weakness?

  • Add the header Host: 127.0.0.1 to the original GET request to attempt host-header injection.

  • Append the payload ?id=164 OR 1=1-- to the endpoint to test for SQL injection errors.

  • Issue a TRACE request to /api/v2/users/164 to check if the server echoes the header contents.

  • Send GET /api/v2/users/165 with the same API key and observe whether another user's data is returned.

Certified Ethical Hacker (CEH)
Web Application Hacking
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot