target:
- Lab URL:
- Tools Used:
browser
Burp suite
Vulnerability Summary:
- Type:
SQL Injection
- Description:
To solve the lab, perform a SQL injection UNION attack that retrieves all usernames and passwords, and use the information to log in as the administrator user
Steps to Exploit:
1.Determine the number of columns and which columns contain string data.
'+UNION+SELECT+NULL,username||'~'||password+FROM+users--
2.Modify the payload and send the request to the server.
3.The username and password will be shown on the page.
Remediation:
Use parameterized queries / prepared statements
Use server‑side input validation
Escape and sanitize user input


Top comments (0)