Certified Ethical Hacker (CEH) Practice Question

During a black-box web application assessment, you notice that sending a single quote in the product_id parameter triggers the Oracle error "ORA-01756: quoted string not properly terminated." Which next step would most reliably verify that a UNION-based SQL injection is feasible while keeping the page functional?

  • Replace the value with "OR 1=1--" to bypass any filters and retrieve all rows at once.

  • URL-encode the single quote as %27 so the application accepts further injected statements.

  • Iteratively append "ORDER BY 1--" and increase the index until an error appears to discover the query's column count.

  • Immediately add "UNION SELECT username,password FROM users--" to display credential data on the page.

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