patterns/waf_patterns/apache/leakages.conf

7 lines
469 B
Plaintext
Raw Normal View History

# Apache ModSecurity rules for LEAKAGES
SecRuleEngine On
2025-01-16 00:26:08 +00:00
SecRule REQUEST_URI "\^5d\{2\}\$" "id:1208,phase:1,deny,status:403,log,msg:'leakages attack detected'"
SecRule REQUEST_URI "\(\?:<\(\?:TITLE>Index\ of\.\*\?<H\|title>Index\ of\.\*\?<h\)1>Index\ of\|>\[To\ Parent\ Directory\]</\[Aa\]><br>\)" "id:1206,phase:1,deny,status:403,log,msg:'leakages attack detected'"
SecRule REQUEST_URI "\^\#!s\?/" "id:1207,phase:1,deny,status:403,log,msg:'leakages attack detected'"