nerdexam
EC-Council

312-50V12 · Question #286

Calvin, a grey-hat hacker, targets a web application that has design flaws in its authentication mechanism. He enumerates usernames from the login form of the web application, which requests users…

The correct answer is D. Verbose failure messages. The hacker exploited a web application design flaw where distinct error messages for invalid login attempts reveal whether a username exists, facilitating username enumeration. This vulnerability, known as verbose failure messages, provides critical information for subsequent…

Submitted by krish.m· Mar 4, 2026Web Application Hacking

Question

Calvin, a grey-hat hacker, targets a web application that has design flaws in its authentication mechanism. He enumerates usernames from the login form of the web application, which requests users to feed data and specifies the incorrect field in case of invalid credentials. Later, Calvin uses this information to perform social engineering. Which of the following design flaws in the authentication mechanism is exploited by Calvin?

Options

  • AUser impersonation
  • BInsecure transmission of credentials
  • CPassword reset mechanism
  • DVerbose failure messages

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    14% (4)
  • D
    79% (22)

Why each option

The hacker exploited a web application design flaw where distinct error messages for invalid login attempts reveal whether a username exists, facilitating username enumeration. This vulnerability, known as verbose failure messages, provides critical information for subsequent social engineering attacks.

AUser impersonation

User impersonation refers to an attacker successfully authenticating as another user, which is a result of compromised credentials, not the specific design flaw of error message verbosity that allows username discovery.

BInsecure transmission of credentials

Insecure transmission of credentials involves sending sensitive authentication data over unencrypted channels, which is unrelated to the content or specificity of error messages returned by the login form.

CPassword reset mechanism

A flawed password reset mechanism refers to vulnerabilities in the process by which users can regain access to their accounts, which is distinct from the error messages displayed during a standard login attempt.

DVerbose failure messagesCorrect

Verbose failure messages occur when a web application provides different error responses depending on the specific reason for a failed login, such as distinguishing between an 'invalid username' and an 'incorrect password' for a valid username. This design flaw allows an attacker to enumerate valid usernames by systematically testing common usernames and observing the varying error messages, confirming which accounts exist on the system for further targeted attacks like social engineering or password brute-forcing.

Concept tested: Username enumeration via verbose error messages

Source: https://owasp.org/www-project-top-ten/2021/A07_2021-Identification_and_Authentication_Failures.html

Topics

#verbose error messages#username enumeration#authentication flaws#web application security

Community Discussion

No community discussion yet for this question.

Full 312-50V12 Practice