You can use the Injection Protection plugin to detect and block known injection patterns consistent with SQL injection, server-side include injection, and more. This plugin can complement your existing firewall solution by adding a layer of customizable protection to prevent injection attacks, or it can eliminate some content-based attacks if you don’t have an existing firewall.
The Injection Protection plugin makes it easier to protect your APIs from SQL injection or other injection attacks by providing out-of-the-box regex matching for common injection attacks. You can also configure custom regex matching.
The Injection Protection plugin helps you detect and block known injection patterns by doing the following:
- Extracts information from request headers, path/query parameters, or the payload body, and evaluates that content against predefined regular expressions
- Rejects the requests that match the regular expressions with a configurable HTTP status code and error message
- Logs information about rejected requests for analytics and reporting