Update: [Thu Jan 16 00:26:08 UTC 2025]

This commit is contained in:
github-actions[bot]
2025-01-16 00:26:08 +00:00
parent dc1668f287
commit 67c6364ac1
39 changed files with 2487 additions and 2487 deletions

View File

@@ -1,6 +1,6 @@
# Apache ModSecurity rules for RFI
SecRuleEngine On
SecRule REQUEST_URI "!@endsWith\ \.%\{request_headers\.host\}" "id:1029,phase:1,deny,status:403,log,msg:'rfi attack detected'"
SecRule REQUEST_URI "!@endsWith\ \.%\{request_headers\.host\}" "id:1030,phase:1,deny,status:403,log,msg:'rfi attack detected'"
SecRule REQUEST_URI "\^\(\?i:file\|ftps\?\|https\?\)://\(\?:d\{1,3\}\.d\{1,3\}\.d\{1,3\}\.d\{1,3\}\)" "id:1028,phase:1,deny,status:403,log,msg:'rfi attack detected'"
SecRule REQUEST_URI "!@endsWith\ \.%\{request_headers\.host\}" "id:1076,phase:1,deny,status:403,log,msg:'rfi attack detected'"
SecRule REQUEST_URI "!@endsWith\ \.%\{request_headers\.host\}" "id:1075,phase:1,deny,status:403,log,msg:'rfi attack detected'"
SecRule REQUEST_URI "\^\(\?i:file\|ftps\?\|https\?\)://\(\?:d\{1,3\}\.d\{1,3\}\.d\{1,3\}\.d\{1,3\}\)" "id:1074,phase:1,deny,status:403,log,msg:'rfi attack detected'"