Recipe 9-4: Preventing SQL Injection Attacks
This recipe shows you how to identify when attackers attempt to use SQL Injection attacks.
Ingredients
- OWASP ModSecurity Core Rule Set (CRS)
- modsecurity_crs_41_sql_injection_attacks.conf
- ModSecurity
- REQUEST_URI variable
- REQUEST_BODY variable
- REQUEST_HEADERS variable
- XML variable
- @rx operator
- @pm operator
CAPEC-66: SQL Injection
Sample Attacks
Here are some real-world SQL ...