Pcornel
Security · OWASP

Authentication Failures

Cheat sheet · https://pcornel.dk/topic.php?topic=4773

Back to the Topic

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.

Remember

  • Credential stuffing exploits weak login defences.
  • Sessions must be invalidated on logout.
  • MFA is the strongest control.

First checks

  • Credential stuffing protection (rate limit, MFA) — controls
  • Session management review — tokens
  • Password policy and hashing — storage

Verify in this order

login → strong auth + session controls

Where it usually breaks

First mismatch in asset/subject identity → trust/authentication → authorization/policy → enforcement/control → telemetry/detection → protected outcome/response; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4773

Confirmation

Confirm action

Continue?