Skip to content

About

OWASP CRS 3rd party plugin for SOGo Groupware

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

Integration tests

SOGo-rule-exclusions-plugin

This plugin contains rule exclusions for SOGo Groupware. These rules are designed to resolve common false positives and allow for easier intergration with OWASP CRS.

Requirements

  • CRS Version 4.0 or newer
  • ModSecurity compatable Web Application Firewall

Installation

For full and up to date instructions on installing plugins, please refer to How to Install a Plugin in the official CRS documentation.

Conditionally enable plugins for multi-application environments

For full and up to date instructions on how to conditionally enable/disable this plugin on a multisite environment, please refer to Conditionally enable plugins for multi-application environments in the official CRS documentation.

Known limitations

By default, Coraza (Used by CrowdSec AppSec) will use the URLENCODED body processor when no other request body has been configured. What body processor Coraza uses is definted in the coraza.conf file. This results in CalDav/CardDav clients being completely broken, this can be remedied by using the RAW body processor when no other body parser has been configured.

SecRule REQBODY_PROCESSOR "!@rx (?:URLENCODED|MULTIPART|XML|JSON)" \
    "id:9520099,\
    phase:1,\
    pass,\
    nolog,\
    ctl:requestBodyProcessor=RAW"

NOTE: tx.enforce_bodyproc_urlencoded is effectively the same thing as described above, tx.enforce_bodyproc_urlencoded is supported by this plugin and contains rule-exclusions to handle false positives resulting from forcing a body processsor.

Disabling the plugin

The plugin can be disabled by uncommenting rule 9520000 inside plugins/sogo-rule-exclusions-config.conf or by removing the includes for this plugin.

Reporting false positives

If you find a false positive that this plugin does not cover then please open a new issue or pull request, if creating an issue then please include the following details:

  1. CRS Version
  2. ModSecurity/Coraza Version
  3. modsec audit logs
  4. what caused the false positive

License

Copyright (c) 2023-2026 Esad Cetiner

This plugin is distributed under GNU General Public License V2 (GPLv2), please see the included LICENSE file for details.

About

OWASP CRS 3rd party plugin for SOGo Groupware

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors