Ponownie wordpress, tym razem w aspekcie mod_security.
Po instalacji, konfiguracji praca z wordpressem jest praktycznie niemożliwa.
rozwiązanie:
w /etc/modsecurity tworzymy pik whitelist.conf o zawartości:
SecRuleRemoveById 980140 SecRuleRemoveById 959100 SecRuleRemoveById 300013 SecRuleRemoveById 300015 SecRuleRemoveById 300016 SecRuleRemoveById 300017 SecRuleRemoveById 300013 SecRuleRemoveById 300015 SecRuleRemoveById 300016 SecRuleRemoveById 300017 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 SecRuleRemoveById 960010 960012 950006 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 300015 300016 300017 950907 950005 950006 960008 960011 960904 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 300015 340151 1234234 340153 1234234 300016 300017 950907 950005 950006 960008 960011 960904 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 960010 960012 950006 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 340151 340153 1234234 950006 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 960010 960012 950006 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 340151 340153 1234234 300015 300016 300017 950907 950005 950006 960008 960011 960904 959006 SecRuleRemoveById phpids-17 SecRuleRemoveById phpids-20 SecRuleRemoveById phpids-21 SecRuleRemoveById phpids-30 SecRuleRemoveById phpids-61 SecRuleRemoveById 920180 SecRuleEngine off #SecRuleRemoveById 980130 #SecRuleRemoveById 949110 #SecRuleRemoveById 920280 #SecRuleRemoveById 932100 SecRuleRemoveById 920350