Lab: SQL Injection with vunerable WHERE clause
This lab explores the lack of sanitisation of inputs while retrieving data from a database. This can lead to disclosure of sensitive information to unauthorised individuals and pose serious risk to organisations.
I begin by visiting the site and find there are categories filters:
These filters likely query a database with a 'WHERE' clause so I click on the 'Clothing...' category and intercept the request to test:
This one I accidentally dropped instead of forwarding so I choose a category again and append it with `'+OR+1=1--` to get me all products belonging to the category regardless of any additional conditions:
Comments
Post a Comment