SQL injection (SQLi) is an attack where someone places database commands into a form field, URL parameter, cookie, or header, hoping a vulnerable plugin passes that text directly into a SQL query. A successful attack can read, change, or delete data in the WordPress database.
How Aegisify WAF detects it
The SQLi managed category compares request data against signatures for common injection techniques, such as UNION SELECT queries, boolean tautologies like ' OR 1=1, stacked queries, comment-based truncation, and time-delay functions. Before matching, the WAF normalizes the request (decoding and joining split or encoded values), which defeats simple evasion tricks.
The WAF inspects the query string and, by default, headers, cookies, and up to 65,536 bytes of the request body. See Inspection scope controls.
Where to configure it
Aegisify WAF → WAF Settings → Managed Protection → SQL injection. The category is enabled by default with a hit threshold of 1.
Handling false positives
Search forms, technical blogs, and support tickets sometimes contain SQL-like words. If the logs show a legitimate request being flagged:
- Confirm the route and parameter in Logs / Attack Story.
- Create an endpoint policy for that exact path that raises the SQLi threshold or disables the category only there.
- Avoid turning the category off site-wide.
Important limit
A WAF reduces risk but does not fix the vulnerable code. Keep plugins updated and use Aegisify Audit to find components with known SQL injection CVEs.
Related: XSS protection, Managed rule categories.
