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…
Question
Options
- AUser impersonation
- BInsecure transmission of credentials
- CPassword reset mechanism
- DVerbose failure messages
How the community answered
(28 responses)- A4% (1)
- B4% (1)
- C14% (4)
- D79% (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.
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.
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.
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.
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
Community Discussion
No community discussion yet for this question.