Server crash when plugin is enabled
-
Hi, my server keeps freezing when the plugin is on. i keep getting these errors in my plesk log.
these are the 3 new things in my server before getting this problem. my server keeps getting hacked so i had to add them.
-added cloudflare (no caching)
-i have plesk WAF turned on (owasp)
-and i also have disable_functions in PHP
disable_functions: exec, passthru, system, shell_exec, popen, curl_exec, curl_multi_exec, parse_ini_file, show_source, system2023-10-19 09:23:48 Error 127.0.0.1 [client 127.0.0.1] ModSecurity: Warning. Pattern match “(?i:(?:[\\”‘
](?:\\\\s*?(?:is\\\\s*?(?:[\\\\d.]+\\\\s*?\\\\W.*?[\\"'
]|\\\\d.+[\\”‘]?\\\\w)|\\\\d\\\\s*?(?:--|#))|(?:\\\\W+[\\\\w+-]+\\\\s*?=\\\\s*?\\\\d\\\\W+|\\\\|?[\\\\w-]{3,}[^\\\\w\\\\s.,]+)[\\"'
]|[\\\\%&<>^=]+\\\\d\\\\s*?(?:between|like|x?or|and|div|=))|(?i:n?and|x?x?or|div|like|between|not| …” at ARGS:f8d239a5d9d5f8cdf4fb255b0864722ea60dc29feb26eb87d78fbc60c5cdfb63. [file “/etc/apache2/modsecurity.d/rules/owasp_modsecurity_crs_3-plesk/REQUEST-942-APPLICATION-ATTACK-SQLI.conf”] [line “877”] [id “942340”] [msg “Detects basic SQL authentication bypass attempts 3/3”] [data “Matched Data: \\x22managed_clearance\\x22:\\x22 found within ARGS:f8d239a5d9d5f8cdf4fb255b0864722ea60dc29feb26eb87d78fbc60c5cdfb63: b3ece70d80c3e4fa1b0c9f1a168d1aa2|{\\x22managed_clearance\\x22:\\x22ni\\x22}”] [severity “CRITICAL”] [ver “OWASP_CRS/3.3.5”] [tag “application-multi”] [tag “language-multi”] [tag “platform-multi”] [tag “attack-sqli”] [tag “OWASP_CRS”] [tag “capec/1000/152/248/66”] [tag “PCI/6.5.2”] [tag “paranoia-level/2”] [hostname “*******.org”] [uri “/”] [unique_id “ZTD1pIxi4IPmFIqSoqFYVAAAAAQ”], referer: https://”*******.org/ Apache errorthis second error (upstream error) get spammed a lot, up to 20 within seconds. then server freezes until i disable the plugin.
2023-10-19 09:23:48 Error 2001:4454:514:2300:c1f:21ce:825f:65ae 251814#0: *148913 upstream timed out (110: Connection timed out) while reading response header from upstream nginx errorI tried removing disable_functions but still the same.
sadly i cant disable WAF and cloudflare because my site is still under attack every random hourEDIT: i also added “output_buffering = 4096” in PHP Additional configuration directives
- The topic ‘Server crash when plugin is enabled’ is closed to new replies.