I installed Owasp ModSecurity, after which there is this warning on all pages of my application.
ModSecurity: Warning. Match of "eq 1" against "&ARGS:CSRF_TOKEN" required. [file "/etc/modsecurity/activated_rules/modsecurity_crs_43_csrf_protection.conf"] [line "31"] [id "981143"] [msg "CSRF Attack Detected - Missing CSRF Token."]
I also tried to create an empty php file just for verification, this warning is shown.
From now on, I assume that the problem is no longer a code level.
Here is the source code of modsecurity_crs_43_csrf_protection.conf
Any idea on how to solve this problem?
source share