Skip to main content

COMODO WAF broken after EA3 to EA4 update.

Comments

4 comments

  • NixTree
    You still have a valid subscription at Comodo WAF login ? Please check and confirm that First. To fix 500 error, me also ended up in removing and installing the same again but not tested the same in EA4. To uninstall properly, did you used the below steps ? ==== To uninstall CWAF for cPanel just run this script: bash /var/cpanel/cwaf/scripts/uninstall_cwaf.sh ===== If not try that and then reinstall the same and see if that works
    0
  • HostXNow_Chris
    With EasyApache 4, you can easily install Comodo WAF rules by adding them in Home " Security Center " ModSecurity" Vendors " Manage Vendors Use:
    https://waf.comodo.com/doc/meta_comodo_apache.yaml
    0
  • 01i
    NixTree, I've definitely got an active COMODO WAF account, I logged in to it while I was hunting down the installation instructions, and it was required during the re-install of the plugin. Thanks for letting me know about that uninstall script. Chris, thanks, but as mentioned in the post, I already reinstalled the Vendor and it was non-functional like the plugin. Prior to migrating to EA4 both Vendor and plugin were installed and functional. ----- To get to a fresh slate, I've uninstalled the Vendor and plugin. However in "ModSecurity Tools -> Rules List" even after removing both COMODO installs, I have 63 rules listed. I'm beginning to think that the reason why neither vendor nor plugin could update the rules, is because some part of the ea3 to ea4 migration disconnected COMODO from it's own rules, and both were failing because they trying to re-add rules with the same ID as rules already in the system. I might be wrong though, those 63 rules could be default rules that come with modsecurity for all I know. I don't want to just delete them, but I'd like to get back to a default modsecurity install before I re-add the Vendor and then reinstall the plugin. I believe I'm pretty safe in my assumption that the following two rules are "default" rules that need to stay: # Deprecated due to security issues so it should be off: ModSecurity Blog: Transformation Caching Unstable, Fixed, But Deprecated SecCacheTransformations Off # Include /usr/local/apache/conf/modsec2.whitelist.conf Include /etc/apache2/conf.d/modsec2.whitelist.conf ** That link is actually a commented url that the boards have converted Can anyone point me to a list of rules that should be installed by default on cPanel, when there are no active Vendors? Either that, or take a quick peek at my leftOverRules.txt and let me know if the rest are all left overs from COMODO or not
    0
  • cPanelMichael
    Hello, cPanel does not include any Mod_Security rules by default. You can edit and remove any existing rules if you'd like to start fresh by removing any lines in the interface at "WHM >> ModSecurity Tools >> Rules List >> Edit Rules". Thank you.
    0

Please sign in to leave a comment.