patterns/waf_patterns/apache/exceptions.conf

9 lines
689 B
Plaintext
Raw Normal View History

# Apache ModSecurity rules for EXCEPTIONS
SecRuleEngine On
2025-02-06 00:25:50 +00:00
SecRule REQUEST_URI "@ipMatch\ 127\.0\.0\.1,::1" "id:1105,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
SecRule REQUEST_URI "@endsWith\ \(internal\ dummy\ connection\)" "id:1106,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
SecRule REQUEST_URI "@ipMatch\ 127\.0\.0\.1,::1" "id:1104,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
SecRule REQUEST_URI "\^\(\?:GET\ /\|OPTIONS\ \*\)\ HTTP/\[12\]\.\[01\]\$" "id:1107,phase:1,deny,status:403,log,msg:'exceptions attack detected'"
SecRule REQUEST_URI "@streq\ GET\ /" "id:1103,phase:1,deny,status:403,log,msg:'exceptions attack detected'"