• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • Our UX team believes in the in the power of direct feedback and would like to invite you to participate in interviews, tests, and surveys.
    To stay in the loop and never miss an opportunity to share your thoughts, please subscribe to our UX research program. If you were previously part of the Plesk UX research program, please re-subscribe to continue receiving our invitations.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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