One of our clients reported an issue with loading their domain. On checking we could see a mod security rule (ID: id 1234123413 ) has been triggered and which caused the issue. We have then whitelisted the rule in the server, but upon checking we could see that the rule was not whitelisted properly and triggered again.
Had to replace a hard drive in my server and kept the old one mounted for reference. Would like to transfer over my previous whitelisted rule id's for each domain that I created on the old drive but cannot seem to find the right files. Anyone point me in the right direction?
Hi,
I am seeing that since cPanel added the Mod_Security tools, the CMC option to set one domain with rules off is no longer working.
Is this an incompatibility?
Also, since cPanel added the Mod_Security option, the files ip.dir and ip.pag
are growing so huge that CMC now is showing the following error:
collections_remove_stale: Failed deleting collection (name ip , key xx.xx.xx.xx ): Internal...
I got the following notifcation logging into one of my cpanel servers this morning.
OWASP rules for ModSecurity™ More Information
The OWASP ModSecurity CRS is a set of rules for use with the ModSecurity Apache module aimed at protecting your web server from malicious traffic. Through the guidance of OWASP, cPanel is now distributing a curated set of these rules. You can install and manage these...
We have a ton of false positive with rules 340206 under /usr/local/apache/conf/modsec_rules/70_asl_csrf_experimental.conf
So, we have first try to disable rule for user : not work
after, we try to disable rule for user and domain : not work
after, we try to disable rule globally : not work
we are looking at implementing Mod Ruid w/Mod Security via the WHM Easyapache to address the Symlink Protection Advisory issue. We are currently using CMC which works with the mod audit log. But when using Mod Ruid with Mod Security the location of the mod audit log is changed. According to the documentation:
If you install Mod Ruid2 and Mod Security, the Mod Security log location is:...
Will cmc work when the rulesets are specified in the config file via Include directives as opposed to the actual rules being posted in the config file.
For example, here is my mod_sec config:
SecRequestBodyAccess On
SecDataDir /var/tmp
SecTmpDir /var/tmp
SecPcreMatchLimit 150000
SecPcreMatchLimitRecursion 150000
Include /usr/local/apache/conf/modsec2/00_asl_whitelist.conf
Include...
I am used to rules that look like this. Does modsec2.whitelist.conf just follow the same whitelisting as it is pushed into the httpd.conf?
Thanks,
Frank
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
For some reason, the main rule disabled list isn't being applied to new hosting accounts on the server, at least two now. I've had to copy the disable list and add it to the user whitelist. Chirpy had set the server up a week or so ago.
Not sure I know why, I've seen it on a couple other servers also, no problems with some of the sites, but, on a few the disabled rules aren't being disabled for...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum