Lab: SQL injection vulnerability allowing login bypass
Summary: PortSwigger's Web Security Academy lab presents a SQL injection vulnerability in an application's login function, where the goal is to log in as the administrator user. The stated solution is to intercept and modify the login request with Burp Suite and set the username parameter to the value administrator'--.
Bottom line: The bypass needs nothing more than a crafted username string, so a login form that concatenates input into its query can hand over the administrator account without any credential being known.
Read the original at PortSwigger Research ↗
- Topics
- Vulnerabilities & Patching
- Related
- Attackers Exploit UnrealIRCd Flaw That Enables Server-Level Command Injection Cyber Risks · Nov 14, 2026U.S. CISA adds Check Point and UnrealIRCd flaws to its Known Exploited Vulnerabilities catalog Cyber Risks · Nov 14, 2026PostgreSQL Patches 52 Flaws, Including 22-Year-Old Bug Enabling Authenticated RCE Cyber Risks · Nov 13, 2026