OWASP Core Rule Set paranoia levels explained (and how to avoid false positives)

The OWASP Core Rule Set (CRS) ships with four paranoia levels (PL). Each level enables more rules, catching more attacks but also flagging more legitimate traffic.
| Level | Meant for | Trade-off |
|---|---|---|
| PL1 | Every site, the default | Very few false positives |
| PL2 | Sites with real security needs (logins, payments) | Some tuning expected |
| PL3 | High-value applications | Regular tuning required |
| PL4 | Very high security, small attack surface | Many false positives without heavy tuning |
Anomaly thresholds
Each rule that matches adds to a request's anomaly score. A critical match adds 5 points; the default inbound threshold is 5, so one critical match blocks. Raising the threshold (for example to 10) during a rollout makes CRS more forgiving while you watch the logs, then you lower it again.
A tuning process that works
- Run with logging only (or a high threshold) for a few days on real traffic.
- Read the audit log and group blocks by rule ID and URL path.
- Decide for each group: is it an attack, or your application doing something unusual (a rich-text editor posting HTML, a JSON API with long tokens)?
- Write narrow exclusions: remove one rule for one path or one parameter, never globally:
SecRule REQUEST_FILENAME "@beginsWith /wp-admin/post.php" \
"id:10001,phase:1,pass,nolog,ctl:ruleRemoveTargetById=941100;ARGS:content"
- Enable the built-in exclusion packages for WordPress, Drupal, Nextcloud, cPanel and phpMyAdmin (CRS 3) or the matching plugins (CRS 4).
- Lower the threshold back to the default once the logs are quiet.
Common false-positive sources
- Content editors that submit HTML or code snippets.
- Search boxes where users type SQL-looking words.
- Long base64 or JWT tokens in cookies or headers.
- Uploads with unusual file names.
When to move up a level
Stay at PL1 for shared hosting with many unrelated sites; you can't tune for every customer's application. Consider PL2 for a single application you control, after tuning at PL1.
TurnUpSecurity Shield installs CRS at PL1 with the common application exclusions turned on, adds its own targeted rules on top, and keeps your local exclusions in a file that updates never overwrite.