2024-12-21 00:35:03 +00:00
|
|
|
# Apache ModSecurity rules for LEAKAGES
|
|
|
|
|
SecRuleEngine On
|
|
|
|
|
|
2025-01-05 00:29:17 +00:00
|
|
|
SecRule REQUEST_URI "@lt 1" "id:1376,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@lt 1" "id:1377,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@rx (?:<(?:TITLE>Index of.*?<H|title>Index of.*?<h)1>Index of|>[To Parent Directory]</[Aa]><br>)" "id:1378,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@rx ^#!s?/" "id:1379,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@lt 2" "id:1380,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@lt 2" "id:1381,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@rx ^5d{2}$" "id:1382,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@lt 3" "id:1383,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@lt 3" "id:1384,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@lt 4" "id:1385,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|
|
|
|
|
SecRule REQUEST_URI "@lt 4" "id:1386,phase:1,deny,status:403,log,msg:'leakages attack detected'"
|