Slide 3 of 28
Part 1 ยท What Is It?Slide 3
Slide 3 ยท The Definition
What OWASP says.
The formal definition, in plain English.
๐Ÿ“„ OWASP API Security Top 10 ยท 2023 ยท API2
The Official Definition

Authentication mechanisms are frequently implemented incorrectly or incompletely, allowing attackers to compromise authentication tokens or to exploit implementation flaws to assume other users' identities temporarily or permanently.

Compromising a system's ability to identify the client/user compromises API security overall.

Breaking it down

Authentication has four jobs that can each break independently:

1. Credential check โ€” verify the password, token, or key is correct

2. Token issuance โ€” generate a secure, unforgeable token after login

3. Token validation โ€” verify the token on every subsequent request

4. Session management โ€” expire, rotate, and revoke tokens properly

Break any one of these four and authentication is broken.

Why this matters for APIs specifically

APIs don't have a human reviewing requests. Every call is automated. A broken auth check runs the same way whether it's a legitimate user or an attacker running a script with 10 million attempts.

โ† Back How is this different from API1? โ†’