Skip to main content

Whitelist for Mod Security available?

Comments

8 comments

  • NTar
    Hi guys, Yesterday, all our Wordpress visitors have been banned for loading content on the server by Mod Security. Does anyone have a whitelist available that prevent users to be banned for no reason? Below you can find our current whitelist.
    SecRuleRemoveById 910006 # Google robot activity - Useful in someways but noisy for sites where you want them crawled SecRuleRemoveById 960015 # Request Missing an Accept Header - Allow for Google Reader SecRuleRemoveById 950901 # Another False One SecRuleRemoveById 981172 # SQL Injection False Positive SecRuleRemoveById 981319 # Breaks woocommerce SecRuleRemoveById 960009 # Request_Headers False Positive SecRuleRemoveById 981173 # False Positive that blocks admin scripts SecRuleRemoveById 981231 # False Positive SecRuleRemoveById 958291 # False Positive - WordPress SecRuleRemoveById 950109 # Breaks Steam Auth SecRuleRemoveById 970901 # Breaks forums when in deactive mode SecRuleRemoveById 973338 # Breaks disturbia admin functions SecRuleRemoveById 981243 # Breaks user edit if user has special characters in their name SecRuleRemoveById 950001 SecRuleRemoveById 950109 SecRuleRemoveById 950901 SecRuleRemoveById 958056 SecRuleRemoveById 958030 SecRuleRemoveById 958057 SecRuleRemoveById 958030 SecRuleRemoveById 958977 SecRuleRemoveById 959073 SecRuleRemoveById 959072 SecRuleRemoveById 960024 SecRuleRemoveById 960915 SecRuleRemoveById 970015 SecRuleRemoveById 970901 SecRuleRemoveById 973335 SecRuleRemoveById 973333 SecRuleRemoveById 973340 SecRuleRemoveById 973342 SecRuleRemoveById 973343 SecRuleRemoveById 973304 SecRuleRemoveById 973334 SecRuleRemoveById 973332 SecRuleRemoveById 973327 SecRuleRemoveById 973324 SecRuleRemoveById 973300 SecRuleRemoveById 973302 SecRuleRemoveById 970003 SecRuleRemoveById 973317 SecRuleRemoveById 973306 SecRuleRemoveById 913342 SecRuleRemoveById 973350 SecRuleRemoveById 950907 SecRuleRemoveById 981205 SecRuleRemoveById 981251 SecRuleRemoveById 981244 SecRuleRemoveById 981255 SecRuleRemoveById 981249 SecRuleRemoveById 981242 SecRuleRemoveById 981231 SecRuleRemoveById 981256 SecRuleRemoveById 981243 SecRuleRemoveById 981245 SecRuleRemoveById 981246 SecRuleRemoveById 981257 SecRuleRemoveById 981173 SecRuleRemoveById 981318 SecRuleRemoveById 981317 SecRuleRemoveById 981248 SecRuleRemoveById 981240 SecRuleRemoveById 981204 SecRuleRemoveById 950001 SecRuleRemoveById 950109 SecRuleRemoveById 950901 SecRuleRemoveById 958056 SecRuleRemoveById 958030 SecRuleRemoveById 958057 SecRuleRemoveById 958030 SecRuleRemoveById 958977 SecRuleRemoveById 959073 SecRuleRemoveById 959072 SecRuleRemoveById 960024 SecRuleRemoveById 960915 SecRuleRemoveById 970015 SecRuleRemoveById 970901 SecRuleRemoveById 973335 SecRuleRemoveById 973333 SecRuleRemoveById 973340 SecRuleRemoveById 973342 SecRuleRemoveById 973343 SecRuleRemoveById 973304 SecRuleRemoveById 973334 SecRuleRemoveById 973332 SecRuleRemoveById 973327 SecRuleRemoveById 973324 SecRuleRemoveById 973300 SecRuleRemoveById 973302 SecRuleRemoveById 970003 SecRuleRemoveById 973317 SecRuleRemoveById 973306 SecRuleRemoveById 913342 SecRuleRemoveById 973350 SecRuleRemoveById 950907 SecRuleRemoveById 981205 SecRuleRemoveById 981251 SecRuleRemoveById 981244 SecRuleRemoveById 981255 SecRuleRemoveById 981249 SecRuleRemoveById 981242 SecRuleRemoveById 981231 SecRuleRemoveById 981256 SecRuleRemoveById 981243 SecRuleRemoveById 981245 SecRuleRemoveById 981246 SecRuleRemoveById 981257 SecRuleRemoveById 981173 SecRuleRemoveById 981318 SecRuleRemoveById 981317 SecRuleRemoveById 981248 SecRuleRemoveById 981240 SecRuleRemoveById 981204 SecRuleRemoveById 950109 SecRuleRemoveById 950901 SecRuleRemoveById 950911 SecRuleRemoveById 958977 SecRuleRemoveById 958979 SecRuleRemoveById 960010 SecRuleRemoveById 960915 SecRuleRemoveById 973337 SecRuleRemoveById 973338 SecRuleRemoveById 973340 SecRuleRemoveById 973342 SecRuleRemoveById 973343 SecRuleRemoveById 981176 SecRuleRemoveById 981214 SecRuleRemoveById 981240 SecRuleRemoveById 981243 SecRuleRemoveById 981245 SecRuleRemoveById 981246 SecRuleRemoveById 981248 SecRuleRemoveById 981257 SecRuleRemoveById 950901 SecRuleRemoveById 960915 SecRuleRemoveById 973337 SecRuleRemoveById 973343 SecRuleRemoveById 981240 SecRuleRemoveById 981246 SecRuleEngine Off SecRuleRemoveById 200002 SecRuleRemoveById 960010 SecRuleRemoveById 960912 SecRuleRemoveById 950901 SecRuleRemoveById 958977 SecRuleRemoveById 958979 SecRuleRemoveById 960915 SecRuleRemoveById 973340 SecRuleRemoveById 973343 SecRuleRemoveById 973350 SecRuleRemoveById 981257 SecRuleRemoveById 981261 SecRuleRemoveById 981243 SecRuleRemoveById 981245 SecRuleRemoveById 981248 SecRuleRemoveById 960010 SecRuleRemoveById 981248 # WordPress Post Page SQL Injection. SecRuleRemoveById 981240 # WordPress Post Page SQL Injection. SecRuleRemoveById 950907 # WordPress Post Page SQL Injection. SecRuleRemoveById 981318 # WordPress Post Page SQL Injection. SecRuleRemoveById 981251 # WordPress Post Page SQL Injection. SecRuleRemoveById 981244 # WordPress Post Page SQL Injection. SecRuleRemoveById 981255 # WordPress Post Page SQL Injection. SecRuleRemoveById 981249 # WordPress Post Page SQL Injection. SecRuleRemoveById 981242 # WordPress Post Page SQL Injection. SecRuleRemoveById 973334 # WordPress Post Page SQL Injection. SecRuleRemoveById 973334 # WordPress Post Page SQL Injection. SecRuleRemoveById 981231 # WordPress Post Page SQL Injection. SecRuleRemoveById 973332 # WordPress Post Page SQL Injection. SecRuleRemoveById 973327 # WordPress Post Page SQL Injection. SecRuleRemoveById 973324 # WordPress Post Page SQL Injection. SecRuleRemoveById 973317 # WordPress Post Page SQL Injection. SecRuleRemoveById 973306 # WordPress Post Page SQL Injection. SecRuleRemoveById 973302 # WordPress Post Page SQL Injection. SecRuleRemoveById 958056 # WordPress Post Page SQL Injection. SecRuleRemoveById 958030 # WordPress Post Page SQL Injection. SecRuleRemoveById 958057 # WordPress Post Page SQL Injection. SecRuleRemoveById 981256 # WordPress Post Page SQL Injection. SecRuleRemoveById 959073 # WordPress Post Page SQL Injection. SecRuleRemoveById 959072 # WordPress Post Page SQL Injection. SecRuleRemoveById 950001 # WordPress Post Page SQL Injection. SecRuleRemoveById 973335 # WordPress Post Page XSS block. SecRuleRemoveById 973333 # WordPress Post Page XSS block. SecRuleRemoveById 973304 # WordPress Post Page XSS block. SecRuleRemoveById 973300 # WordPress Post Page XSS 403 block. SecRuleRemoveById 981243 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981246 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981245 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981257 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981173 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 960024 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981317 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 950006 # System Command Injection - Another rule that probably doesn't need to be disabled by everyone it stops .exe and various other extensions being passed in arguments. SecRuleRemoveById 981173 SecRuleRemoveById 981173 SecRuleRemoveById 981173 # Update Core SQL Injection SecRuleRemoveById 950005 # Remote File Access Attempt - Probably no need to be disabled by everyone; it allows me putting /etc/ and other linux paths in posts. SecRuleRemoveById 973301 # XSS SecRuleRemoveById 950109 # Multiple URL encoding SecRuleRemoveById 950117 # Remote File Inclusion Attack - Disable to allow http:// to be passed in args SecRuleRemoveById 950907 # System Command Injection SecRuleRemoveById 950005 # Remote File Access Attempt - Probably no need to be disabled by everyone; it allows me putting /etc/ and other linux paths in posts. SecRuleRemoveById 950006 # System Command Injection - Another rule that probably doesn't need to be disabled by everyone it stops .exe and various other extensions being passed in arguments. SecRuleRemoveById 959006 # SQL Injection Attack - SecRuleRemoveById 960008 # Request Missing a Host Header SecRuleRemoveById 960011 # GET or HEAD requests with bodies SecRuleRemoveById 960904 # Request Containing Content, but Missing Content-Type header SecRuleRemoveById 981173 # SQL Injection SecRuleRemoveById phpids-17 # Detects JavaScript object properties and methods SecRuleRemoveById phpids-20 # Detects JavaScript language constructs SecRuleRemoveById phpids-21 # Detects very basic XSS probings SecRuleRemoveById phpids-30 # Detects common XSS concatenation patterns 1/2 SecRuleRemoveById phpids-61 # Detects url injections and RFE attempts SecRuleRemoveById 950006 # System Command Injection - Another rule that probably doesn't need to be disabled by everyone it stops .exe and various other extensions being passed in arguments. SecRuleRemoveById 959006 # SQL Injection Attack - SecRuleRemoveById 960010 # Request content type is not allowed by policy - Allows for amongst other things spell check to work on admin area SecRuleRemoveById 960012 # Require Content-Length to be provided with every POST request - Same as above SecRuleRemoveById phpids-17 # Detects JavaScript object properties and methods SecRuleRemoveById phpids-20 # Detects JavaScript language constructs SecRuleRemoveById phpids-21 # Detects very basic XSS probings SecRuleRemoveById phpids-30 # Detects common XSS concatenation patterns 1/2 SecRuleRemoveById phpids-61 # Detects url injections and RFE attempts
    Yet this does not cover all mistakenly bans. For example, this is a 'reason' for being banned I see all the time.
    Request: GET / Action Description: Access denied with redirection to http://www.*domain.com*/ using status 302 (phase 2). Justification: Matched phrase "winhttp.winhttprequest.5" at REQUEST_HEADERS:User-Agent.
    Does anyone know what happens right here? Thanks!
    0
  • NTar
    I've installed Comodo's third-party vendor. It seems to stop banning innocent visitors, yet I cannot confirm anything at this time. Keep this topic updated!
    0
  • cPanelMichael
    I've installed Comodo's third-party vendor. It seems to stop banning innocent visitors, yet I cannot confirm anything at this time. Keep this topic updated!

    Hello, I am happy to see that vendor's ruleset is helpful. Let us know if any additional issues continue. Thank you.
    0
  • quizknows
    The OWASP rule set requires a ton of exclusions still as evidenced by NTar's post. The comodo vendor set is much better for avoiding false positives if you do not have the experience to customize the OWASP rule set as required. I like to relate the OWASP rule set to an F1 car... tons of features, but the average person couldn't get it out of the driveway. The Comodo rule set is much more akin to an automatic transmission car.
    0
  • NTar
    Thanks for brainstorming with me. It seems Comodo's package has fixed the problem as visitors don't get banned anymore (but hackers are :) ). Topic closed.
    0
  • hrace009
    I've installed Comodo's third-party vendor. It seems to stop banning innocent visitors, yet I cannot confirm anything at this time. Keep this topic updated!

    btw, how to get commodo modsec vendor?
    Hi guys, Yesterday, all our Wordpress visitors have been banned for loading content on the server by Mod Security. Does anyone have a whitelist available that prevent users to be banned for no reason? Below you can find our current whitelist.
    SecRuleRemoveById 910006 # Google robot activity - Useful in someways but noisy for sites where you want them crawled SecRuleRemoveById 960015 # Request Missing an Accept Header - Allow for Google Reader SecRuleRemoveById 950901 # Another False One SecRuleRemoveById 981172 # SQL Injection False Positive SecRuleRemoveById 981319 # Breaks woocommerce SecRuleRemoveById 960009 # Request_Headers False Positive SecRuleRemoveById 981173 # False Positive that blocks admin scripts SecRuleRemoveById 981231 # False Positive SecRuleRemoveById 958291 # False Positive - WordPress SecRuleRemoveById 950109 # Breaks Steam Auth SecRuleRemoveById 970901 # Breaks forums when in deactive mode SecRuleRemoveById 973338 # Breaks disturbia admin functions SecRuleRemoveById 981243 # Breaks user edit if user has special characters in their name SecRuleRemoveById 950001 SecRuleRemoveById 950109 SecRuleRemoveById 950901 SecRuleRemoveById 958056 SecRuleRemoveById 958030 SecRuleRemoveById 958057 SecRuleRemoveById 958030 SecRuleRemoveById 958977 SecRuleRemoveById 959073 SecRuleRemoveById 959072 SecRuleRemoveById 960024 SecRuleRemoveById 960915 SecRuleRemoveById 970015 SecRuleRemoveById 970901 SecRuleRemoveById 973335 SecRuleRemoveById 973333 SecRuleRemoveById 973340 SecRuleRemoveById 973342 SecRuleRemoveById 973343 SecRuleRemoveById 973304 SecRuleRemoveById 973334 SecRuleRemoveById 973332 SecRuleRemoveById 973327 SecRuleRemoveById 973324 SecRuleRemoveById 973300 SecRuleRemoveById 973302 SecRuleRemoveById 970003 SecRuleRemoveById 973317 SecRuleRemoveById 973306 SecRuleRemoveById 913342 SecRuleRemoveById 973350 SecRuleRemoveById 950907 SecRuleRemoveById 981205 SecRuleRemoveById 981251 SecRuleRemoveById 981244 SecRuleRemoveById 981255 SecRuleRemoveById 981249 SecRuleRemoveById 981242 SecRuleRemoveById 981231 SecRuleRemoveById 981256 SecRuleRemoveById 981243 SecRuleRemoveById 981245 SecRuleRemoveById 981246 SecRuleRemoveById 981257 SecRuleRemoveById 981173 SecRuleRemoveById 981318 SecRuleRemoveById 981317 SecRuleRemoveById 981248 SecRuleRemoveById 981240 SecRuleRemoveById 981204 SecRuleRemoveById 950001 SecRuleRemoveById 950109 SecRuleRemoveById 950901 SecRuleRemoveById 958056 SecRuleRemoveById 958030 SecRuleRemoveById 958057 SecRuleRemoveById 958030 SecRuleRemoveById 958977 SecRuleRemoveById 959073 SecRuleRemoveById 959072 SecRuleRemoveById 960024 SecRuleRemoveById 960915 SecRuleRemoveById 970015 SecRuleRemoveById 970901 SecRuleRemoveById 973335 SecRuleRemoveById 973333 SecRuleRemoveById 973340 SecRuleRemoveById 973342 SecRuleRemoveById 973343 SecRuleRemoveById 973304 SecRuleRemoveById 973334 SecRuleRemoveById 973332 SecRuleRemoveById 973327 SecRuleRemoveById 973324 SecRuleRemoveById 973300 SecRuleRemoveById 973302 SecRuleRemoveById 970003 SecRuleRemoveById 973317 SecRuleRemoveById 973306 SecRuleRemoveById 913342 SecRuleRemoveById 973350 SecRuleRemoveById 950907 SecRuleRemoveById 981205 SecRuleRemoveById 981251 SecRuleRemoveById 981244 SecRuleRemoveById 981255 SecRuleRemoveById 981249 SecRuleRemoveById 981242 SecRuleRemoveById 981231 SecRuleRemoveById 981256 SecRuleRemoveById 981243 SecRuleRemoveById 981245 SecRuleRemoveById 981246 SecRuleRemoveById 981257 SecRuleRemoveById 981173 SecRuleRemoveById 981318 SecRuleRemoveById 981317 SecRuleRemoveById 981248 SecRuleRemoveById 981240 SecRuleRemoveById 981204 SecRuleRemoveById 950109 SecRuleRemoveById 950901 SecRuleRemoveById 950911 SecRuleRemoveById 958977 SecRuleRemoveById 958979 SecRuleRemoveById 960010 SecRuleRemoveById 960915 SecRuleRemoveById 973337 SecRuleRemoveById 973338 SecRuleRemoveById 973340 SecRuleRemoveById 973342 SecRuleRemoveById 973343 SecRuleRemoveById 981176 SecRuleRemoveById 981214 SecRuleRemoveById 981240 SecRuleRemoveById 981243 SecRuleRemoveById 981245 SecRuleRemoveById 981246 SecRuleRemoveById 981248 SecRuleRemoveById 981257 SecRuleRemoveById 950901 SecRuleRemoveById 960915 SecRuleRemoveById 973337 SecRuleRemoveById 973343 SecRuleRemoveById 981240 SecRuleRemoveById 981246 SecRuleEngine Off SecRuleRemoveById 200002 SecRuleRemoveById 960010 SecRuleRemoveById 960912 SecRuleRemoveById 950901 SecRuleRemoveById 958977 SecRuleRemoveById 958979 SecRuleRemoveById 960915 SecRuleRemoveById 973340 SecRuleRemoveById 973343 SecRuleRemoveById 973350 SecRuleRemoveById 981257 SecRuleRemoveById 981261 SecRuleRemoveById 981243 SecRuleRemoveById 981245 SecRuleRemoveById 981248 SecRuleRemoveById 960010 SecRuleRemoveById 981248 # WordPress Post Page SQL Injection. SecRuleRemoveById 981240 # WordPress Post Page SQL Injection. SecRuleRemoveById 950907 # WordPress Post Page SQL Injection. SecRuleRemoveById 981318 # WordPress Post Page SQL Injection. SecRuleRemoveById 981251 # WordPress Post Page SQL Injection. SecRuleRemoveById 981244 # WordPress Post Page SQL Injection. SecRuleRemoveById 981255 # WordPress Post Page SQL Injection. SecRuleRemoveById 981249 # WordPress Post Page SQL Injection. SecRuleRemoveById 981242 # WordPress Post Page SQL Injection. SecRuleRemoveById 973334 # WordPress Post Page SQL Injection. SecRuleRemoveById 973334 # WordPress Post Page SQL Injection. SecRuleRemoveById 981231 # WordPress Post Page SQL Injection. SecRuleRemoveById 973332 # WordPress Post Page SQL Injection. SecRuleRemoveById 973327 # WordPress Post Page SQL Injection. SecRuleRemoveById 973324 # WordPress Post Page SQL Injection. SecRuleRemoveById 973317 # WordPress Post Page SQL Injection. SecRuleRemoveById 973306 # WordPress Post Page SQL Injection. SecRuleRemoveById 973302 # WordPress Post Page SQL Injection. SecRuleRemoveById 958056 # WordPress Post Page SQL Injection. SecRuleRemoveById 958030 # WordPress Post Page SQL Injection. SecRuleRemoveById 958057 # WordPress Post Page SQL Injection. SecRuleRemoveById 981256 # WordPress Post Page SQL Injection. SecRuleRemoveById 959073 # WordPress Post Page SQL Injection. SecRuleRemoveById 959072 # WordPress Post Page SQL Injection. SecRuleRemoveById 950001 # WordPress Post Page SQL Injection. SecRuleRemoveById 973335 # WordPress Post Page XSS block. SecRuleRemoveById 973333 # WordPress Post Page XSS block. SecRuleRemoveById 973304 # WordPress Post Page XSS block. SecRuleRemoveById 973300 # WordPress Post Page XSS 403 block. SecRuleRemoveById 981243 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981246 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981245 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981257 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981173 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 960024 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 981317 # WordPress Post Page SQL Injection 403 block. SecRuleRemoveById 950006 # System Command Injection - Another rule that probably doesn't need to be disabled by everyone it stops .exe and various other extensions being passed in arguments. SecRuleRemoveById 981173 SecRuleRemoveById 981173 SecRuleRemoveById 981173 # Update Core SQL Injection SecRuleRemoveById 950005 # Remote File Access Attempt - Probably no need to be disabled by everyone; it allows me putting /etc/ and other linux paths in posts. SecRuleRemoveById 973301 # XSS SecRuleRemoveById 950109 # Multiple URL encoding SecRuleRemoveById 950117 # Remote File Inclusion Attack - Disable to allow http:// to be passed in args SecRuleRemoveById 950907 # System Command Injection SecRuleRemoveById 950005 # Remote File Access Attempt - Probably no need to be disabled by everyone; it allows me putting /etc/ and other linux paths in posts. SecRuleRemoveById 950006 # System Command Injection - Another rule that probably doesn't need to be disabled by everyone it stops .exe and various other extensions being passed in arguments. SecRuleRemoveById 959006 # SQL Injection Attack - SecRuleRemoveById 960008 # Request Missing a Host Header SecRuleRemoveById 960011 # GET or HEAD requests with bodies SecRuleRemoveById 960904 # Request Containing Content, but Missing Content-Type header SecRuleRemoveById 981173 # SQL Injection SecRuleRemoveById phpids-17 # Detects JavaScript object properties and methods SecRuleRemoveById phpids-20 # Detects JavaScript language constructs SecRuleRemoveById phpids-21 # Detects very basic XSS probings SecRuleRemoveById phpids-30 # Detects common XSS concatenation patterns 1/2 SecRuleRemoveById phpids-61 # Detects url injections and RFE attempts SecRuleRemoveById 950006 # System Command Injection - Another rule that probably doesn't need to be disabled by everyone it stops .exe and various other extensions being passed in arguments. SecRuleRemoveById 959006 # SQL Injection Attack - SecRuleRemoveById 960010 # Request content type is not allowed by policy - Allows for amongst other things spell check to work on admin area SecRuleRemoveById 960012 # Require Content-Length to be provided with every POST request - Same as above SecRuleRemoveById phpids-17 # Detects JavaScript object properties and methods SecRuleRemoveById phpids-20 # Detects JavaScript language constructs SecRuleRemoveById phpids-21 # Detects very basic XSS probings SecRuleRemoveById phpids-30 # Detects common XSS concatenation patterns 1/2 SecRuleRemoveById phpids-61 # Detects url injections and RFE attempts
    Yet this does not cover all mistakenly bans. For example, this is a 'reason' for being banned I see all the time.
    Request: GET / Action Description: Access denied with redirection to http://www.*domain.com*/ using status 302 (phase 2). Justification: Matched phrase "winhttp.winhttprequest.5" at REQUEST_HEADERS:User-Agent.
    Does anyone know what happens right here? Thanks!

    Thanks for sharing this.
    0
  • linux4me2
    The instructions for adding the Comodo WAF rules for Apache and Litespeed are here.
    0
  • hrace009
    The instructions for adding the Comodo WAF rules for Apache and Litespeed are here.

    hi thanks, yes i already have installed it
    0

Please sign in to leave a comment.