Skip to content

Commit 4bd9124

Browse files
Update content/2-how-crs-works/2-1-anomaly_scoring/index.md
Co-authored-by: Esad Cetiner <[email protected]>
1 parent 7544e85 commit 4bd9124

File tree

1 file changed

+1
-1
lines changed
  • content/2-how-crs-works/2-1-anomaly_scoring

1 file changed

+1
-1
lines changed

content/2-how-crs-works/2-1-anomaly_scoring/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Most detected inbound threats carry an anomaly score of 5 (by default), while sm
9090
Rule coverage should be taken into account when setting anomaly score thresholds. Different CRS rule categories feature different numbers of rules. SQL injection, for example, is covered by more than 50 rules. As a result, a real world SQLi attack can easily gain an anomaly score of 15, 20, or even more. On the other hand, a rare protocol attack might only be covered by a single, specific rule. If such an attack only causes the one specific rule to match then it will only gain an anomaly score of 5. If the inbound anomaly score threshold is set to anything higher than 5 then attacks like the one described will not be stopped. **As such, a CRS installation should aim for an inbound anomaly score threshold of 5.**
9191

9292
{{% notice warning %}}
93-
Increasing the anomaly score threshold above the defaults (5 for requests, 4 for responses) will allow a substantial number of attacks to bypass CRS and will impede the ability of critical rules to function correctly - including major LFI/RFI safeguards and several protections against severe data-exfiltration vulnerabilities. The anomaly score threshold should only ever be increased temporarily during false-positive tuning.
93+
Increasing the anomaly score threshold above the defaults (5 for requests, 4 for responses), will allow a substantial number of attacks to bypass CRS and will impede the ability of critical rules to function correctly, such as LFI, RFI, RCE, and data-exfiltration rules. The anomaly score threshold should only ever be increased temporarily during false-positive tuning.
9494

9595
Some WAF vendors (such as Cloudflare) set the default anomaly score well above our defaults. This is not a proper implementation of CRS, and will result in bypasses.
9696
{{% /notice %}}

0 commit comments

Comments
 (0)