Lab: SQL injection vulnerability in WHERE clause allowing retrieval of hidden data
Last updated
Last updated
This lab contains an vulnerability in the product category filter. When the user selects a category, the application carries out an SQL query like the following:
To solve the lab, perform an SQL injection attack that causes the application to display details of all products in any category, both released and unreleased.
Visit:
Insert single quote [ ' ] :'
You will gain an internal server error
Try to inject tautology payload to retrieve released and unreleased products
' or 1=1-- -