Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Authentication Failures

Direct answer

Identification and authentication failures (OWASP A07) include weak passwords, missing MFA, credential stuffing exposure and poor session handling. Use MFA, rate limiting and secure session management.

When to use this

Use this when login, MFA or session handling is weak in an application (OWASP A07).

First 30 seconds

1. Identification/authentication failures: weak passwords, no MFA, bad session handling, credential stuffing.

2. MFA.

3. Rate limiting and breached password checks.

4. Secure sessions.

5. Use proven IdPs.

Operational verification

login → strong auth + session controls

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Security architecture and operations
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformSecurity architecture and operations
Scope / prerequisiteUse this when login, MFA or session handling is weak in an application (OWASP A07).
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

2 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Testing Verify boundary
  • Try many logins quickly: is there rate limiting or lockout?
  • Check whether the session ID changes after login.
  • Log out and replay the old session cookie.
  • Test password reset tokens for expiry, single use and guessability.
  • Try skipping the MFA step by calling later endpoints directly.
Step 2 Common mistakes Narrow the fault
  • No MFA or rate limiting on login.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Credential stuffing exploits weak login defences.
  • Sessions must be invalidated on logout.
  • MFA is the strongest control.
Key checks
  • Credential stuffing protection (rate limit, MFA) — controls
  • Session management review — tokens
  • Password policy and hashing — storage
ReferenceWhy it matters1 section · depth on demand

Checklist

  • MFA, preferably phishing-resistant.
  • Block breached and common passwords; no forced periodic changes without cause (NIST 800-63B).
  • Rate-limit and monitor login attempts (credential stuffing).
  • Secure session handling: new session ID at login, idle and absolute timeouts, server-side logout.
ReferenceHow it works1 section · depth on demand

In depth

Identification and authentication failures allow attackers to compromise passwords, keys or sessions: credential stuffing, brute force, weak password recovery, missing MFA, session IDs that do not expire or rotate.

Controls:

WeaknessControl
Credential stuffing/brute forceMFA, rate limiting, breached-password checks
Weak passwordsLength requirements, block common/breached passwords
Weak recoverySecure reset flows, no knowledge-based answers
Session issuesNew session at login, timeouts, server-side invalidation
Credential exposureNever in URLs or logs; secure storage hashing

Prefer delegating authentication to a mature identity provider (SSO with OIDC/SAML) over building it per application.

ReferenceImportant terms & boundaries1 section · depth on demand

Examples

  • Credential stuffing succeeds because there is no rate limiting or MFA.
  • Session IDs in URLs, or sessions that never expire.
  • Weak password recovery ("mother's maiden name").
  • Accepting passwords found in breach corpuses — check against Have I Been Pwned's k-anonymity API.
  • MFA that can be skipped by calling the next step's endpoint directly.
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docSecurity architecture and operations current

Authoritative/upstream documentation reviewed for bounded claims in OWASP → Authentication Failures. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://owasp.org/www-project-application-security-verification-standard/ · confidence 94%
Confirmation

Confirm action

Continue?