tautology
A condition that is always true, such as '1'='1', which attackers add to a query to make it match every row.
In more detail
With a bound parameter the tautology stops working. The database then looks for a value literally equal to the whole hostile string and finds nothing.
Related terms
- SQL injection — An attack where untrusted input is joined into a database query so that part of it runs as SQL, letting an attacker read or change data.
Taught in
- Injection In All Its Forms — Application Security & Threat Modeling for Engineers
- SQL Injection: The Exploit — Application Security & Threat Modeling for Engineers