One of my sites was shut down several times over the past few days.
One of the tech support peeps sent me the following info:
It seems one of your scripts/pages violating mod security rules.
[Fri Jun 06 02:13:36 2008] [error] [client 67.180.214.246] ModSecurity: Access denied with code 406 (phase 2). Pattern match "(?:\\\\b(?:on(?:(?:mo(?:use(?:o(?:ver|ut)|down|move|up)|ve)|key(?:press|down|up)|c(?:hange|lick)|s(?:elec|ubmi)t|(?:un)?load|dragdrop|resize|focus|blur)\\\\b\\\\W*?=|abort\\\\b)|(?:l(?:owsrc\\\\b\\\\W*?\\\\b(?:(?:java|vb)script|shell)|ivescript)|(?:href|url)\\\\b\\\\W*? ..." at REQUEST_FILENAME. [id "950004"] [msg "Cross-site Scripting (XSS) Attack. Matched signature <.cookie>"] [severity "CRITICAL"] [hostname "xxxxx.xxxxxxxxxx.com"] [uri "/sites/all/modules/jstools/jquery.cookie.js"] [unique_id "M1EkpEo2R4cAACvitCsAAAAg"]
- thanks and goodluck!
Comments
Comment #1
nedjoThanks for the note. The jQuery cookie plugin is externally maintained. Could you try the latest version and see if the problem persists (and if there are new problems)?
See:
* http://plugins.jquery.com/project/cookie
* http://jquery.com/dev/svn/trunk/plugins/cookie/jquery.cookie.js?format=txt
Comment #2
webthingee commentedthanks, I'll give that a go.
Comment #3
Sepulman commentedAs your message says "Matched signature <.cookie>"]", mod_security trips up over the .cookie in the name of the jquery cookie js file. Simply rename the js file and adjust the module code to use the renamed name......
Comment #4
webthingee commentedSepulman,
Sounds like a logical fix... where do I do that? rename the file located in the module file? then in the module itself?
Comment #5
najibx commentedhi, I can find other pages related this this issue. Mine is slightly different not sure, it's related to JS.
For now, I have the rule removed, not sure either that's a good idea !