PortSwigger Labs Demonstrating Authentication and Authorization Vulnerabilities
Vulnerability Disclosure · 4 sources · Updated 5mo ago · First seen Jan 5, 2026

A series of PortSwigger web security labs highlight critical vulnerabilities in authentication and authorization mechanisms, including brute-force attacks, password reset poisoning, and flawed two-factor authentication logic. Attackers can exploit weaknesses in password change and login processes to enumerate valid credentials, bypass brute-force protections by submitting multiple credentials in a single request, and manipulate password reset flows using headers like X-Forwarded-Host to hijack account recovery. Additionally, logic flaws in two-factor authentication allow adversaries to brute-force verification codes and gain unauthorized access to user accounts.
These labs provide practical demonstrations of how improper implementation of authentication workflows can be leveraged to compromise user accounts, emphasizing the importance of robust input validation, secure session management, and comprehensive brute-force protection. The scenarios underscore the need for organizations to regularly test and update their authentication systems to defend against evolving attack techniques targeting password management and multi-factor authentication processes.


