Courseiva
Web Application and Injection AttacksmediumMultiple ChoiceObjective-mapped

CEH Web Application and Injection Attacks Practice Question

A penetration tester discovers that a web application's login page does not enforce rate limiting and several usernames are known from a prior data breach. The tester wants to try a few common passwords across many accounts to avoid account lockouts. Which attack technique is being used?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Password spraying

Password spraying involves trying a small number of common passwords against many user accounts to avoid account lockout. This contrasts with credential stuffing (using many passwords per account) and brute force (many passwords per user).

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Password spraying

    Why this is correct

    Password spraying is a targeted attack where an attacker attempts a small number of common passwords against a large list of usernames. This technique is specifically designed to bypass account lockout policies by distributing login attempts across many accounts, rather than repeatedly failing on a single account. By trying 'Password123!' on hundreds of accounts, the attacker significantly increases their chances of finding a valid credential without triggering security alerts for excessive failed logins on one user. This method is highly effective against organizations with weak password policies and large user bases.

  • Credential stuffing

    Why it's wrong here

    Credential stuffing involves using large sets of username and password pairs, typically obtained from data breaches of other websites, to attempt logins on a target web application. Attackers leverage the common user practice of reusing credentials across multiple services, hoping that a combination compromised elsewhere will grant access to the current system. This attack relies on pre-existing compromised data rather than guessing, making it distinct from brute-force methods. Automated tools are often employed to rapidly test thousands or millions of stolen credentials against the target.

  • Brute force attack

    Why it's wrong here

    A brute force attack systematically attempts every possible combination of characters for a password until the correct one is found for a single target account. This method is exhaustive and computationally intensive, often starting with simple combinations and progressively increasing complexity. Its primary limitation is the high probability of triggering account lockout policies or being detected by intrusion prevention systems due to numerous failed login attempts against a single user. While theoretically guaranteed to succeed given enough time, practical defenses often render it inefficient.

  • Dictionary attack

    Why it's wrong here

    A dictionary attack attempts to guess a password for a single user by systematically trying words and phrases from a predefined list, such as common words, names, or previously leaked passwords. This method is more efficient than a pure brute-force attack because it focuses on the most likely passwords first, leveraging human tendencies to choose simple or common words. Like brute-force attacks, it targets a single account and is highly susceptible to account lockout policies and rate-limiting mechanisms. Attackers often augment standard dictionaries with common variations and leetspeak.

About these practice questions

Courseiva writes every CEH question from scratch — 870 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CEH practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CEH exam.