• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Modsecurity issue with Comodo rules set. Missing folder: /var/cache/modsecurity/

Azurel

Silver Pleskian
User name: Azurel

TITLE

Modsecurity issue with Comodo rules set. Missing folder: /var/cache/modsecurity/

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian 18.0.28, CentOS Linux 7.8.2003

PROBLEM DESCRIPTION

After switch from Atomic (free) to Comodo (free) rule sets many ips were banned.

This folder is missing: /var/cache/modsecurity/

Code:
# ls -ld /var/cache/modsecurity/
ls: cannot access /var/cache/modsecurity/: No such file or directory

error.log
[Tue Aug 04 16:05:53.773474 2020] [:error] [pid 16755] [client USER_IPv4:38102] [client USER_IPv4] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cache/modsecurity/global": No such file or directory [hostname "www.example.de"] [uri "/index.php"] [unique_id "XylrQam5mugGmg2ui-f5GgAAAAQ"], referer: https://www.example.de/
[Tue Aug 04 16:05:53.773539 2020] [:error] [pid 16755] [client USER_IPv4:38102] [client USER_IPv4] ModSecurity: collections_remove_stale: Failed to access DBM file "/var/cache/modsecurity/ip": No such file or directory [hostname "www.example.de"] [uri "/index.php"] [unique_id "XylrQam5mugGmg2ui-f5GgAAAAQ"], referer: https://www.example.de/

With this plesk-modsecurity detect entry in /var/log/modsec_audit.log and after few entries jail recidive ban ips for a week.

STEPS TO REPRODUCE

Switch ModSecurity rules set to "Comodo".

ACTUAL RESULT

Bans many many legal users.

EXPECTED RESULT

No bans. ^^

ANY ADDITIONAL INFORMATION

This issue in plesk is 3 years old. I found a article for this ModSecurity on Plesk server reports errors: collection_store: Failed to access DBM file "/var/cache/modsecurity/": No such file or directory
But that is not a solution. Plesk should check the folder exists! I have hundred of users banned, only because I set Comodo as rules set.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Last edited:
Back
Top