by: WanderingTechy
May 22, 2009
I got a server 500 Error when accessing the akismet spam filter. Checking the logs and I could see the error was ModSecurity: Output filter: Response body too large (over limit of 524288, total not specified) To correct this edit this file /etc/httpd/modsecurity.d/modsecurity_crs_10_config.conf Look for the line SecResponseBodyLimit 524288 I just added a leading 1 [...]
by: WanderingTechy
February 9, 2009
http://www.theregister.co.uk/2009/02/08/kaspersky_compromise_report/ I am only surmising from the limited information I can see here that ModSecurity would have protected them? Comments on this one welcome… Rule 959001 does seem to cover the “SelECT” part of the URL in the screen shots but when I try a random url with this string in it on my website [...]
by: WanderingTechy
February 4, 2009
Ofer Shezaf at xiom.com has created a list of Application Specific Rules for ModSecurity. He is actively looking for these rules so it should be updated quite regularly I think. Ofer Shezaf was one of the Team that brought us ModSecurity in the first place although he is no longer there. You can still see [...]
by: WanderingTechy
February 2, 2009
Too many ModSecurity rules trip up PHPMyAdmin so I decided to find another way to protect it. I personally use the .htaccess password protection and then disable ModSecurity totally for this directory. It is also advisable to use a totally unique directory name so that it can’t be guessed.
by: WanderingTechy
February 2, 2009
This is necessary to allow Actinic to work on a shared server. <LocationMatch “/cgi-bin/ca000001.pl”> SecRuleRemoveById 950910 </LocationMatch> <LocationMatch “/acatalog/”> SecRuleRemoveById 950910 </LocationMatch>
by: WanderingTechy
February 2, 2009
I am managing a bunch of shared hosting servers and I still find clients of this company are installing older version of Mambo. This ModSecurity Rule is essential when you are dealing with a server where clients can install anything they want. This goes in modsecurity_crs_15_custom.conf also SecRule ARGS_NAMES “mosConfig_absolute_path” “deny,log,auditlog,redirect:http://www.google.co.uk” I redirect to http://www.google.co.uk [...]
by: WanderingTechy
February 1, 2009
Just re-read the title and it sounds like science fiction B movie title.. Oh well. After running this for a while and having played with all the possible options in WordPress here is my final Mod_Security custom file.
by: WanderingTechy
January 10, 2009
Top tips to secure your Linux Server
by: WanderingTechy
January 10, 2009
Mod Security exceptions for WordPress, yet another addition.
by: WanderingTechy
January 10, 2009
Fixing WordPress problems caused by Mod_security the result.