Lab: Blind SQL injection with time delays
This lab contains a blind SQL injection vulnerability. The application uses a tracking cookie for analytics, and performs an SQL query containing the value of the submitted cookie.
The results of the SQL query are not returned, and the application does not respond any differently based on whether the query returns any rows or causes an error. However, since the query is executed synchronously, it is possible to trigger conditional time delays to infer information.
To solve the lab, exploit the SQL injection vulnerability to cause a 10 second delay.
You can find some useful payloads on our SQL injection cheat sheet.
Visit the front page of the shop, and use Burp Suite to intercept and modify the request containing the
TrackingIdcookie, changing it to:
- Submit the request and observe that the application takes 10 seconds to respond.