Authentication (AT8)

AUTHENTICATION
8

Kate kan authenticatie omzeilen omdat het niet veilig faalt (d.w.z. het staat standaard niet-geverifieerde toegang toe)

How to play?

The key concept for this card is permitting access, even though authentication checks were undertaken and detected a failure. See AT 4 for the similar authorization failure.

Scenario: Kate’s Authentication Bypass

Consider a scenario where Kate finds a way to bypass authentication mechanisms due to a system's failure to default securely. This occurs because:

  1. Failure to Fail Securely: The system is designed in such a way that if authentication processes fail, it defaults to allowing access, rather than denying it.

Example

Kate targets a web application that has a flaw in its authentication process. During a system failure or when the authentication service is down, instead of denying access, the system defaults to granting access. Kate exploits this by triggering a fault in the authentication mechanism, either through direct attack or by exploiting system instability. As a result, she gains unauthorized access without needing legitimate credentials.

Threat Modeling

STRIDE

That scenario maps directly to STRIDE: Spoofing

Spoofing covers impersonating a legitimate user or system. Here, Kate bypasses authentication entirely because the system fails insecure (defaults to granting access). Even though no valid credentials were provided, the system treats her as authenticated → she is spoofing identity. There might be secondary impacts that maps to the other STRIDE categories depending on the context.

What can go wrong?

This vulnerability can lead to unauthorized access to sensitive data and systems, potentially compromising the entire network or application.

For more things that can go wrong, see the Common Attack Patterns related to this card in the table below.

What are we going to do about it?

Once an authentication failure is detected, access needs to be blocked. It is also useful to log (associated with the user's identity if possible) and flag these as possibly malicious activity for further analysis, or as input for application intrusion detection systems.¨

  1. Design and configure authentication mechanisms to default to a 'deny access' state in case of any failure.
  2. Regularly test and validate the authentication process to ensure it behaves as expected during system errors or downtime.
  3. Implement robust monitoring and alerting mechanisms to quickly detect and respond to authentication system failures.

For detailed advice on how to mitigate threats related to the card, see the ASVS and OWASP Developer Guide requirements in the table below.

Mappings

STRIDE: Spoofing

OWASP ASVS: 16.3.1,16.3.3,16.3.4,16.5.2,16.5.3

CAPEC: 114,461

OWASP DevGuide: A4

SAFECode: 28

CAPEC™ Map

CodeTitleASVS
114Authentication Abuse
461Web Services API Signature Forgery Leveraging Hash Function Extension Weakness

ASVS (5.0) Cheat Sheet Series Index

Attacks

Data tampering

Privilege escalation

Password Guessing/Brute Force Attacks

Account Takeover (ATO) Attacks

OWASP Cornucopia

OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 4.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.

© 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.