SQL Injection
SQL Injection
Presenters:
>>Salman Mallah: 22BSCYS021
>>Kinza: 22BSCYS031
>> 25/03/2024
TABLE OF CONTENTS
01 What is SQL?
authorisation issue
log4shell
spring4shell
-SOURCE
When ?
• SQLi was documented in 1998 by Jeff Forristal
• Jeff has been recognized as an industry expert in
web application security and was responsible for
the first publicized responsible security disclosure
policy (2000), the first publicized recognition of
SQL injection (Phrack, 1998)
-SOURCE
Famous attacks?
TJX Companies Attack
• Date: 2005-2007
• Loss: Over 45 million credit and debit
card numbers stolen, one of the largest
data breaches in history.
https://www.form.muet.com/?
userName=Salman&password=admin
https://www.form.muet.com/?
userName=Salman&password=admin
https://www.form.muet.com/?
userName=Salman&password=admin
HOW web page works?
Web client
HOW web page works?
Web client
HOW SQLi works?
HOW SQLi works?
” OR 1=1 --
HOW SQLi works?
https://www.form.muet.com/?Name=salman&pass=” OR 1=1 --
” OR 1=1 --
HOW SQLi works?
https://www.form.muet.com/?Name=salman&pass=” OR 1=1 --