portswigger-all-labs

Complete PortSwigger Web Security Academy Lab Writeups Detailed, categorized solutions for every lab — from APPRENTICE to EXPERT — covering all 30 vulnerability types.

View on GitHub

Authentication Vulnerabilities

Authentication vulnerabilities occur when websites implement login and identity verification mechanisms improperly. These issues can allow attackers to gain unauthorized access to user accounts or escalate privileges.


What is Authentication?

Authentication is the process of verifying the identity of a user.

Three Common Factors:


Authentication vs Authorization


Common Vulnerabilities

1. Weak Password Protections

2. Broken Authentication Logic

3. Password Reset Poisoning

4. Session Management Flaws

5. Flawed Multi-Factor Authentication (MFA)

6. Third-Party Authentication (OAuth)


Real-World Exploitation Scenarios


How to Prevent


Associated Lab Files


Learn More