Created: 2022-07-08
Tags: #permanent
user input is interpreted as ACTUAL COMMANDS or PARAMETERS by application.
Injection attacks depends on technologies used and how input is interpreted
SQL - SQL Injection
-> Occurs when user input is passed to SQL queries.
-> Attacker can pass in SQL queries to manipulate outcome of queries.
Command Injection
-> Occurs when user input is passed to system commands
-> Attacker can execute system commands to application servers.
If attacker successfully passed input and interpreted correctly
user input must NOT INTERPRET as queries/commands
Different ways we can do it and is shown below