⚠ Sandboxed environment — This is an intentionally vulnerable application running inside an isolated Docker container with fake data. Nothing you do here can harm the host machine or other users.

A07 – Authentication Failures

OWASP A07:2025 CWE-307 CWE-521 CWE-204

Authentication failures come in many shapes. The verifier doesn't rate-limit; registration accepts any password; error messages reveal who exists.

CWE-307 No Lockout CWE-521 Weak Passwords CWE-204 User Enumeration
CWE-204 Response Discrepancy Information Exposure (Username Enumeration)

Login, reset, and "forgot password" forms often respond differently for valid vs invalid users. That one bit lets attackers map your entire user base.

Vulnerable code:
if u in USERS:
    return 'User exists. Wrong password.'   # different message
return 'No such user.'                       # different message

Try it yourself

Probe a known user

Submit alice. Server confirms she exists.

Probe a non-existent one

Submit nobody. Server denies it. Different bit → enumeration.