nerdexam
EC-Council

312-50V13 · Question #452

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 B. Verbose failure messages. Calvin exploited a web application's login form that provided specific error messages, enabling him to enumerate valid usernames.

Submitted by kim_seoul· Mar 6, 2026Hacking Web Applications

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

  • AInsecure transmission of credentials
  • BVerbose failure messages
  • CUser impersonation
  • DPassword reset mechanism

How the community answered

(50 responses)
  • A
    8% (4)
  • B
    86% (43)
  • C
    4% (2)
  • D
    2% (1)

Why each option

Calvin exploited a web application's login form that provided specific error messages, enabling him to enumerate valid usernames.

AInsecure transmission of credentials

Insecure transmission of credentials refers to sending sensitive authentication data without proper encryption, allowing eavesdropping, which is distinct from enumerating usernames via login form responses.

BVerbose failure messagesCorrect

Verbose failure messages on a login form, specifically those that differentiate between an 'invalid username' and an 'invalid password' or indicate which field is incorrect, expose information about valid user accounts. This design flaw allows attackers to enumerate existing usernames, which can then be used for targeted brute-force attacks or social engineering campaigns.

CUser impersonation

User impersonation is the act of successfully pretending to be another user, which is an outcome of exploiting a vulnerability, not the design flaw itself that permits username enumeration.

DPassword reset mechanism

A password reset mechanism vulnerability would involve flaws in the process of resetting forgotten passwords, such as weak token generation or improper email validation, not the informative error messages on a standard login form.

Concept tested: Authentication mechanism flaws (verbose error messages)

Source: https://owasp.org/Top10/A07_2021-Identification_and_Authentication_Failures/

Topics

#verbose failure messages#username enumeration#authentication flaws#web application vulnerability

Community Discussion

No community discussion yet for this question.

Full 312-50V13 Practice