mirror of
https://github.com/fabriziosalmi/patterns.git
synced 2025-12-29 16:15:12 +00:00
Update: [Fri Feb 7 00:25:52 UTC 2025]
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Apache ModSecurity rules for FIXATION
|
||||
SecRuleEngine On
|
||||
|
||||
SecRule REQUEST_URI "\(\?i:\.cookieb\.\*\?;W\*\?\(\?:expires\|domain\)W\*\?=\|bhttp\-equivW\+set\-cookieb\)" "id:1016,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "!@endsWith\ %\{request_headers\.host\}" "id:1019,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:ht\|f\)tps\?://\(\.\*\?\)/" "id:1018,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:1017,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "@eq\ 0" "id:1021,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:1020,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:1108,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "@eq\ 0" "id:1109,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "!@endsWith\ %\{request_headers\.host\}" "id:1107,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\(\?i:\.cookieb\.\*\?;W\*\?\(\?:expires\|domain\)W\*\?=\|bhttp\-equivW\+set\-cookieb\)" "id:1104,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:1105,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
SecRule REQUEST_URI "\^\(\?:ht\|f\)tps\?://\(\.\*\?\)/" "id:1106,phase:1,deny,status:403,log,msg:'fixation attack detected'"
|
||||
|
||||
Reference in New Issue
Block a user