Can't disable rule 340464 [SOLVED]
Posted: Tue Nov 25, 2008 8:39 am
Hello all,
I have problems with php-nuke or any nuke or any image upload / link.
The modsec rule is :
340464
example:
[Mon Nov 24 19:15:05 2008] [error] [client 88.26.168.2xx] ModSecurity: [file "/etc/httpd/modsecurity.d/10_asl_rules.conf"] [line "1000"] [id "340464"] [rev "15"] [msg "Remote File Injection attempt in ARGS (admin.php)"] [severity "CRITICAL"] Warning. Pattern match "(?:ogg|gopher|zlib|(?:ht|f)tps?)\\:/" at ARGS:hometext. [hostname "www.euskalpcxx.xxx"] [uri "/admin.php"] [unique_id "X9gHpH8AAAEAAC88-eMAAAAy"]
[Mon Nov 24 19:15:05 2008] [error] [client 88.26.168.2xx] ModSecurity: [file "/etc/httpd/modsecurity.d/10_asl_rules.conf"] [line "1001"] [id "340465"] [rev "15"] [msg "Remote File Injection attempt in ARGS (admin.php)"] [severity "CRITICAL"] Warning. Pattern match "(?:ogg|gopher|zlib|(?:ht|f)tps?)\\:/" at ARGS:hometext. [hostname "www.euskalpcx.xxx"] [uri "/admin.php"] [unique_id "X9gHpH8AAAEAAC88-eMAAAAy"]
OK, I have read this on logs, so I go to my 00_asl_custom_exclude.conf and I added :
<LocationMatch .*>
SecRuleRemoveById 340162
SecRuleRemoveById 340464
</LocationMatch>
for example.
Restart apache and it didn't work, it's still banning.
I have test a :
asl --disable-rule 340464
and asl -s -f
but it didn't work, still banning.
Thanks
I have problems with php-nuke or any nuke or any image upload / link.
The modsec rule is :
340464
example:
[Mon Nov 24 19:15:05 2008] [error] [client 88.26.168.2xx] ModSecurity: [file "/etc/httpd/modsecurity.d/10_asl_rules.conf"] [line "1000"] [id "340464"] [rev "15"] [msg "Remote File Injection attempt in ARGS (admin.php)"] [severity "CRITICAL"] Warning. Pattern match "(?:ogg|gopher|zlib|(?:ht|f)tps?)\\:/" at ARGS:hometext. [hostname "www.euskalpcxx.xxx"] [uri "/admin.php"] [unique_id "X9gHpH8AAAEAAC88-eMAAAAy"]
[Mon Nov 24 19:15:05 2008] [error] [client 88.26.168.2xx] ModSecurity: [file "/etc/httpd/modsecurity.d/10_asl_rules.conf"] [line "1001"] [id "340465"] [rev "15"] [msg "Remote File Injection attempt in ARGS (admin.php)"] [severity "CRITICAL"] Warning. Pattern match "(?:ogg|gopher|zlib|(?:ht|f)tps?)\\:/" at ARGS:hometext. [hostname "www.euskalpcx.xxx"] [uri "/admin.php"] [unique_id "X9gHpH8AAAEAAC88-eMAAAAy"]
OK, I have read this on logs, so I go to my 00_asl_custom_exclude.conf and I added :
<LocationMatch .*>
SecRuleRemoveById 340162
SecRuleRemoveById 340464
</LocationMatch>
for example.
Restart apache and it didn't work, it's still banning.
I have test a :
asl --disable-rule 340464
and asl -s -f
but it didn't work, still banning.
Thanks