WP Statistics component issues with RSFirewall component
-
Good day,
I use the WPStatistics component on my website along with the RSFirewall component to protect my website from possible attacks. I have automatic blocking of potentially dangerous IP addresses set in my firewall, and unfortunately it happens that RSFirewall also blocked IP addresses that were not dangerous. So I wrote to their support and with the help of the logs we came to the conclusion that the firewall was blocking the addresses due to an attempt to insert a remote file with URLs similar to this:
wp_statistics_hit_rest=yes&track_all=0¤t_page_type=search¤t_page_id=0&search_query=http://rozvrhy hodin&page_uri=Lz9zPXJvenZyaHkraG9kaW4 | Match: =http://rozvrhy hodin&page_uri=Lz9zPXJvenZyaHkraG9kaW4
The firewall obviously has a problem with the WPStatistics component. So I asked the developer of the RSFirewall component to tell me exactly what is wrong with the firewall on the WPStatistics component and this is the answer:
Hello,
As per the logs provided, the page is being blocked because there’s an URL in the parameters:
search_query=http://rozvrhy hodin&page_uri=Lz9zPXJvenZyaHkraG9kaW4
Notice “http://rozvrhy hodin”. This isn’t typical. I’m sure you’ve visited plenty of sites and URLs being part of the request is not a common occurrence. This is actually typical of bots/scripts that attempt to find a vulnerability on your website, hence why it’s blocked. I’m not sure what’s the legitimate reason for the search_query parameter to have “http://” in there, as it seems out of place. The rest of the parameter doesn’t look like a domain name but rather an actual query, for example these are extracted from your logs:
Match: =http://rozvrhy hodin
Match: =http://zaměstnanci r.1987
Match: =http://Přihláška ke studiu na VOŠ
Perhaps try contacting WPStatistics as maybe there’s a configuration error / bug causing this.Therefore, I would like to ask you if there is any way to set up WPStatistics so that the above-mentioned problem no longer occurs and I can use both components at the same time without problems?
Thank you and have a nice day!
Best regards
M. Málek
The topic ‘WP Statistics component issues with RSFirewall component’ is closed to new replies.