I am running Zencart 1.3.9h on 5 domains. Today they all failed. My server support staff put this down to the file "seo.url.php" [part of ultimate seo urls] being missing so it must have disappeared from them all at the same time. The shops are now running normally.
However I still have problems in admin. If I view a product description and then click preview I receive the following error message:
An appropriate representation of the requested resource /shop/**admin**/product.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
The server error log returned:
=============================
[Wed Sep 14 18:40:52 2011] [error] [client 77.102.184.71] ModSecurity: Access denied with code 406 (phase 2). Invalid UTF-8 encoding: invalid byte value in character at ARGSroducts_description[1]. [offset "32"] [file "/usr/local/apache/conf/modsec2.user.conf"] [line "23"] [id "950801"] [msg "UTF8 Encoding Abuse Attack Attempt"] [severity "WARNING"] [hostname "xxxx.co.uk"] [uri "/shop/**admin**/product.php"] [unique_id "TnDnJNXlepQAABC7ROQAAAAR"]
[Wed Sep 14 18:40:52 2011] [error] [client 77.102.184.71] File does not exist: /home/xxxxxx/public_html/406.shtml, referer: http://xxxx.co.uk/shop/**admin**/pro...on=new_product
=============================
I get similar messages when I try to edit a file using define_pages_editor.php
The server support staff say the error indicates ModSecurity the apache web application firewall rule is getting violated by the application, so they will have to disable the particular rule of the ModSecurity for my domain.
I am somewhat baffled as to why these problems should happen in standard Zencart applications. I have checked and all the Zencart files look ok. Have my apps come under attack? Should I just go ahead and have ModSecurity amended or is there more that I should be aware of?


roducts_description[1]. [offset "32"] [file "/usr/local/apache/conf/modsec2.user.conf"] [line "23"] [id "950801"] [msg "UTF8 Encoding Abuse Attack Attempt"] [severity "WARNING"] [hostname "xxxx.co.uk"] [uri "/shop/**admin**/product.php"] [unique_id "TnDnJNXlepQAABC7ROQAAAAR"]
Reply With Quote

