mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-29 16:15:12 +00:00
Update: [Fri Jan 17 00:25:08 UTC 2025]
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Apache ModSecurity rules for FIXATION
|
||||
SecRuleEngine On
|
||||
|
||||
SecRule REQUEST_URI "!@endsWith\ %\{request_headers\.host\}" "id:1145,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\(\?i:\.cookieb\.\*\?;W\*\?\(\?:expires\|domain\)W\*\?=\|bhttp\-equivW\+set\-cookieb\)" "id:1142,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "@eq\ 0" "id:1147,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:jsessionid\|aspsessionid\|asp\.net_sessionid\|phpsession\|phpsessid\|weblogicsession\|session_id\|session\-id\|cfid\|cftoken\|cfsid\|jservsession\|jwsession\)\$" "id:1143,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:jsessionid\|aspsessionid\|asp\.net_sessionid\|phpsession\|phpsessid\|weblogicsession\|session_id\|session\-id\|cfid\|cftoken\|cfsid\|jservsession\|jwsession\)\$" "id:1146,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:ht\|f\)tps\?://\(\.\*\?\)/" "id:1144,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\(\?i:\.cookieb\.\*\?;W\*\?\(\?:expires\|domain\)W\*\?=\|bhttp\-equivW\+set\-cookieb\)" "id:1036,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:jsessionid\|aspsessionid\|asp\.net_sessionid\|phpsession\|phpsessid\|weblogicsession\|session_id\|session\-id\|cfid\|cftoken\|cfsid\|jservsession\|jwsession\)\$" "id:1037,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "@eq\ 0" "id:1041,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:jsessionid\|aspsessionid\|asp\.net_sessionid\|phpsession\|phpsessid\|weblogicsession\|session_id\|session\-id\|cfid\|cftoken\|cfsid\|jservsession\|jwsession\)\$" "id:1040,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:ht\|f\)tps\?://\(\.\*\?\)/" "id:1038,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "!@endsWith\ %\{request_headers\.host\}" "id:1039,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
|
||||
Reference in New Issue
Block a user