What is Broken authentication ? — Occurs when authentication mechanisms are improperly implemented.
Examples
1. Weak Passwords
admin / 1234562. Session Hijacking
Stealing cookies:
document.cookie3. No Rate Limiting
Brute force attacks possible.
️ Real Attack
Attacker tries:
- 1000 passwords/min
- No lockout system
Eventually gets access.
Prevention
- Strong password policies
- Multi-Factor Authentication (MFA)
- Session timeout
- Rate limiting