Skip to main content

OWASP REQUEST-942 ModSecurity Issue

Comments

5 comments

  • User Avatar
    cPRex Jurassic Moderator

    Hey hey!  The last ModSecurity update was November 20th, but that specific rule has been in place forever.  If the attack isn't legitimate you may need to whitelist that specific rule so the site functions normally.

    If you have modified the SecPcreMatchLimit or SecPcreMatchLimitRecursion values mentioned here https://docs.cpanel.net/whm/security-center/modsecurity-configuration/ that could also be causing that issue as well.

    0
  • User Avatar
    Leo Santis

    What's pretty strange is my modsec2.user.conf is blank, so everything default.

    Also strange that my self was getting caught by this rule when clicking around Wordpress admin pages. I'm mean, I wasn't even running any routine or nothing.

    0
  • User Avatar
    cPRex Jurassic Moderator

    I don't have a great explanation, other than maybe that rule is just a bit overprotective and needs to be whitelisted.

    0
  • User Avatar
    mtindor

    ciao70 keep in mind that further down in that Atomicorp document they actually suggest even higher on a modern system.  Of course, if you don't get any errors with 20000 then no need to raise it.   And I trust Atomicorp over pretty much anyone.  Been using their rules for more than a decade.

     

     SecPcreMatchLimit 250000
     SecPcreMatchLimitRecursion 250000


    0
  • User Avatar
    Leo Santis

    Thank you all for your comments. I'm going to give a shot on that and let's see how it goes.

    0

Please sign in to leave a comment.