Certified Ethical Hacker (CEH) Practice Question

While testing an e-commerce site, you discover a numeric product_id parameter that is vulnerable to SQL injection but does not return any visible error messages or data. You want to confirm that the back-end database connection can still execute your injected code without relying on displayed output. Which attack technique is specifically designed to verify database connectivity in this situation by measuring server response time?

  • Append an inline comment (--) to truncate the original query and observe the page layout.

  • Inject a time-based SQL payload that forces the database to pause before responding.

  • Use a UNION-based payload to join the results of SELECT @@version to the HTTP response.

  • Attempt a stacked query that inserts a new row and then selects it back.

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