Authentication (AT2)

AUTHENTICATION
2

James can undertake authentication functions without the real user ever being aware this has occurred (e.g. attempt to log in, log in with stolen credentials, reset the password)

How to play?

This card is related to notification of security events to users.

Scenario: James’s Unnoticed Authentication Interference

Consider a scenario where James, a cunning hacker, carries out authentication-related activities, such as password changes, without alerting the real user. He exploits security gaps in the notification and monitoring processes:

  1. Undetected Login Attempts: James attempts to log in using acquired credentials without triggering any alerts.
  2. Unauthorized Logins: He successfully logs in with stolen credentials, and the real user remains unaware.
  3. Silent Password Resets: James resets passwords without the system notifying the legitimate account holder.

Example

James uses stolen credentials to attempt a password reset on a user’s account. The system, lacking a robust alert mechanism, does not notify the actual user of this reset attempt. James successfully changes the password, gains full access to the account, and the legitimate user remains oblivious until they try to access their account later.

Threat Modeling

STRIDE

The scenario maps directly to STRIDE: Repudiation.

James is able to perform authentication-related actions without the legitimate user being aware. STRIDE’s Repudiation threat category is about the ability to perform actions that cannot be traced or denied — essentially a lack of sufficient logging, auditing, or notification. The absence of alerts/notifications means the legitimate user cannot detect or contest the malicious activity. That is classic repudiation risk. Depending on the context, any of the other categories could be a secondary or related impact.

What can go wrong?

This kind of vulnerability can lead to unnoticed account takeovers, prolonged unauthorized access, and potentially significant data breaches or identity theft.

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?

Security event logs should record key actions and the results of important security checks (in some cases successes as well as failures). If users have access to this information, they may well be able to help detect attempted or actual account/data breaches as they know more of the usage context. This information might be sent as alert messages (e.g. SMS, email, post), by making event data available as an API, or might appear in the web application as a short summarised activity log available once authenticated such as on the logged-in welcome page, or during the process of logging-off, and also within a user's account details to be accessed on demand. It maybe useful to include non web application events (e.g. mobile app password reset, a major event initiated by letter or the telephone call to the contact centre).

  1. Implement immediate alert systems for any authentication-related activities, especially password resets or changes.
  2. Enforce multi-factor authentication, which adds a layer of security and verification before allowing password changes or resets.
  3. Regularly review authentication processes to ensure they are secure and notify users of all significant activities.

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

OWASP ASVS (v4.0): 2.5.2,7.1.2,7.1.4,7.2.1,8.2.1,8.2.2,8.2.3,8.3.6

OWASP DevGuide: A3,A11,A12,A17,A18,A19,A20,A21,P10,P11,P12,SL6,SL8,SLD9,M1,M2

STRIDE: Repudiation

OWASP SCP: 47,52

OWASP AppSensor: UT1

CAPEC™: 21,49,50,151,600

SAFECode™: 28

ASVS (4.0.3) Cheat Sheet Series Index

Password Guessing/Brute Force Attacks

Credential Stuffing

Social engineering attack

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.