Every HTTP request carries headers such as User-Agent, Referer, Accept-Language, and sometimes custom headers like X-Forwarded-For. Attackers place payloads in headers because some plugins log, store, or display them without proper escaping. A header that ends up in an admin activity log can deliver stored cross-site scripting to an administrator.
What Aegisify WAF does
When header inspection is enabled (the default), the managed rules check header values against the same signature categories used for the URL and body, such as SQL injection and XSS. Values are normalized first so encoded payloads are recognized.
Where to configure it
Aegisify WAF → WAF Settings → Managed Protection → Inspect headers.
Performance and compatibility
Header inspection is lightweight because headers are small. Problems are uncommon, but you may see findings from:
- Monitoring services that send unusual User-Agent strings.
- Reverse proxies that add long custom headers.
Review those events in Logs / Attack Story before changing anything. If a trusted integration is repeatedly flagged, scope an endpoint policy to its route instead of disabling header inspection for the whole site.
Related controls
The Abuse & Bots tab (Pro) can block known automation User-Agents such as curl or python-requests. That is a separate control from header inspection. See Bad User-Agent blocking.
Related: Inspection scope controls.
