I have recied an e-mail today, telling me that my site is raising alarms with my host mod_security rules. its causing errors, which caused them to turn off mod_security on my site as a result, without talking to me about it.
I discovered that by doing this, my site was open to attack. I have insisted that it has been turned back on, but they are still threatening to turn it off, as this is the only way to get rid of the alarms and errors.
This is what i got told were the reasons for the errors
--------------------------------------------------------------------------------------------------------------------------------
mod_security has certain rules for the words "pattern" used in online CMS and requested URL’s.
If any pattern match with the requested URL under your site or any online CMS try to put the words "Pattern" to Database . mod_security deny the access to it. Most of the CMS put the data in the Ddabase and edit / delete record from database and really need the mod_security disable.
We cannot modify the mod_security rules on shared server however can disable mod_sec for your site.
and they posted these two urls to show me why its rasing alarms, but it didnt make any sense to me, as I just couldnt understand it.
Refer following URL for detailed information about mod_security.
http://www.modsecurity.org/
http://www.modsecurity.org/documentation/
---------------------------------------------------------------------------------------------------------------------------------
This is the rule that they say I’m breaking
------------------------------------------------------------------------------------------------------------------------------
"SecRule REQUEST_HEADERS:User-Agent "(?:\b(?:(?:indy librar|snoop)y|microsoft url control|lynx)\b|d(?:ownload demon|isco)|w(?:3mirror|get)|l(?:ibwww|wp)|p(?:avuk|erl)|cu(?:sto|rl)|big brother|autohttp|netants|eCatch)" \
"chain,log,auditlog,msg:’Request Indicates an automated program explored the site’,id:’990011’,severity:’5’
SecRule REQUEST_HEADERS:User-Agent "!^apache.*perl"
------------------------------------------------------------------------------------------------------------------------
It states that it is something to do with the cms, which is modx.
Has anybody heard of this before, if they have can you help me with fixing it please?
Thank you.
John.