πŸ“„ Blind SQL Injection – Lab Report

Description:

This lab contains a blind SQL injection vulnerability in a tracking cookie used for analytics. The application does not return query results or errors, but it displays a "Welcome back" message when the query returns at least one row.

Screenshot_2026-04-10_15_26_28.png


🧠 Vulnerability Explanation

The application executes a SQL query like:

SELECT trackingidFROM TrackedUsersWHERE Trackingid='value'

Screenshot_2026-04-10_15_27_48.png

Since the query result is not visible, we rely on a Boolean-based blind SQL injection technique.

If the condition is true, the page shows "Welcome back".

If false, no message appears.


βš”οΈ Testing for Injection

We test with:

'xyz'OR'a'='a

Screenshot_2026-04-10_15_59_13.png

If the "Welcome back" message appears β†’ the input is vulnerable.