Web Application Firewall
Block malicious traffic, brute-force attacks, and common web exploits.
Web Application Firewall
GHP Cloud's Web Application Firewall (WAF) inspects incoming HTTP requests and blocks malicious traffic before it reaches your WordPress site. It protects against SQL injection, XSS, file inclusion attacks, WordPress-specific exploits, and brute-force login attempts.
Enabling the WAF
The WAF is available on Pro and Business plans. Enable it under Site → Security → Web Application Firewall. Toggle the WAF Status switch to enable it. You will see two modes:
Detection mode — The WAF logs suspicious requests but does not block them. Use this mode for a few days when first enabling the WAF to identify any false positives before switching to prevention mode.
Prevention mode — The WAF actively blocks requests that match threat signatures. Blocked requests receive an HTTP 403 response.
WAF rule sets
GHP Cloud's WAF includes rules for:
- OWASP Core Rule Set — industry-standard rules covering the OWASP Top 10 vulnerabilities
- WordPress rules — rules specific to WordPress, including protection for
wp-login.php,xmlrpc.php, and the REST API - Bot protection — block malicious bots and scrapers while allowing legitimate crawlers like Googlebot
- IP reputation — block IPs known for spam and attacks based on real-time threat intelligence feeds
Brute-force protection
The WAF includes brute-force protection for wp-login.php. After a configurable number of failed login attempts (default: 5) from the same IP, that IP is temporarily blocked for 1 hour. Configure the threshold under WAF → Brute Force Protection.
Viewing WAF logs
Click WAF → Logs to see a real-time feed of blocked requests. Each entry shows:
- Timestamp
- Source IP and country
- Request URL
- Rule that triggered the block
- Action taken (logged or blocked)
Whitelist trusted IPs
If the WAF is blocking a legitimate tool (e.g., your monitoring service or a payment gateway's IP range), add it to the whitelist under WAF → IP Whitelist. Whitelisted IPs bypass all WAF rules.
Custom rules
On the Business plan, you can create custom WAF rules using a simple rule editor. Block specific IP ranges, user agents, request patterns, or URI paths.
Was this article helpful?