Cyber Risks · PortSwigger Research

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