ModSecurity icon indicating copy to clipboard operation
ModSecurity copied to clipboard

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. It has a robust event-based programming language which provides protection from a range o...

Results 300 ModSecurity issues
Sort by recently updated
recently updated
newest added

Transaction JSON log of "reference" is too verbose for some rules. There is a limit for "ref" field in "standard" log. file: **rule_message.cc** ``` ... msg.append(" [ref \"" + utils::string::limitTo(200,...

3.x

The complete 'if (...) {...}' construction can be removed because the same code is executed immediately after the 'if (...) {...}' construction. When the condition evaluates to true, the same...

3.x

Hello, I'm having issue with Modsecurity 2.9 (it is installed into a plesk server latest version with latest updates) On every single visit I got a register with that 2...

2.x

The following block triggers an error in v3 (nginx): ``` SecRule REQUEST_FILENAME "@unconditionalMatch" \ "id:888888,\ phase:1\ chain" SecRuleScript test.lua "nolog" ``` The error is: ``` nginx: [emerg] "modsecurity_rules_file" directive Disruptive...

bug
3.x

Hi @airween, I'm trying to install modsecurity3 latest for nginx from sid. Apparently there is a minor fix in 3.0.12 leading to a version 3.0.12-1.1 . However this fix has...

3.x

**Describe the bug** Unable to get json logs for Modsecurity in K8s ingress-nginx even after setting `SecAuditLogFormat: JSON`. I am setting `SecAuditLogFormat: JSON` and I want that the logs should...

3.x

I'm rewriting my PR for NULL pointer checks. In most places, it's as basic as adding "if (ptr != NULL)" but I tried to optimize it a bit. There are...

2.x
help wanted

The goal of this PR is to enforce YAJL being a mandatory dependencies during configuration and simplify the codebase. Work on this PR originated in discussions about mandatory dependencies in...

Return of msc_regexec() compared with PCRE_ERROR_NOMATCH (!=) to check if match. Other errors may happen that would return -2, -3, ... Matching would be incorrectly set in this case. We...

## what - remove usage of tmpnam - apr has primitives for file handling and unique name creation ## why - tmpnam is considered unsafe ## drawbacks - static memory...