modsecurity you don’t have permission to access /phpmyadmin/import.php

[Thu Dec 26 14:17:31.929092 2019] [:error] [pid 19836] [client 219.91.251.164] ModSecurity: Access denied with code 403 (phase 2). Match of “eq 0” against “MULTIPART_UNMATCHED_BOUNDARY” required. [file “/etc/httpd/conf/extra/modsecurity.d/00_asl_zz_strict.conf”] [line “37”] [id “330792”] [msg “Multipart parser detected a possible unmatched boundary. This may be an impedence mismatch attack, a broken application or a broken connection.  This is not a false positive.  Check your application or client for errors.”] [severity “CRITICAL”] [hostname “192.227.108.55”] [uri “/phpmyadmin/import.php”] [unique_id “XgRzo8Hz@CX9it2euowINQAAABA”]
[Thu Dec 26 14:17:31.929314 2019] [:error] [pid 19836] [client 219.91.251.164] ModSecurity: Audit log: Failed to create subdirectories: /var/asl/data/audit/20191226/20191226-1417 (Permission denied) [hostname “192.227.108.55”] [uri “/phpmyadmin/import.php”] [unique_id “XgRzo8Hz@CX9it2euowINQAAABA”]

<LocationMatch  /phpmyadmin/import.php >
SecRuleRemoveById 330792
</LocationMatch>

Leave a Comment

Your email address will not be published. Required fields are marked *