Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ SecRule REQUEST_URI_RAW|REQUEST_HEADERS|ARGS|ARGS_NAMES "@validateByteRange 1-25
SecRule &REQUEST_HEADERS:Host "@eq 0" \
"id:920280,\
phase:1,\
pass,\
block,\
t:none,\
msg:'Request Missing a Host Header',\
tag:'application-multi',\
Expand All @@ -520,8 +520,8 @@ SecRule &REQUEST_HEADERS:Host "@eq 0" \
tag:'OWASP_CRS/PROTOCOL-ENFORCEMENT',\
tag:'capec/1000/210/272',\
ver:'OWASP_CRS/4.21.0-dev',\
severity:'WARNING',\
setvar:'tx.inbound_anomaly_score_pl1=+%{tx.warning_anomaly_score}',\
severity:'CRITICAL',\
setvar:'tx.inbound_anomaly_score_pl1=+%{tx.critical_anomaly_score}',\
skipAfter:END-HOST-CHECK"


Expand Down Expand Up @@ -569,7 +569,7 @@ SecMarker "END-HOST-CHECK"
SecRule REQUEST_HEADERS:Accept "@rx ^$" \
"id:920310,\
phase:1,\
pass,\
block,\
t:none,\
msg:'Request Has an Empty Accept Header',\
tag:'application-multi',\
Expand All @@ -595,7 +595,7 @@ SecRule REQUEST_HEADERS:Accept "@rx ^$" \
SecRule REQUEST_HEADERS:Accept "@rx ^$" \
"id:920311,\
phase:1,\
pass,\
block,\
t:none,\
msg:'Request Has an Empty Accept Header',\
tag:'application-multi',\
Expand Down Expand Up @@ -629,7 +629,7 @@ SecRule REQUEST_HEADERS:Accept "@rx ^$" \
SecRule REQUEST_HEADERS:User-Agent "@rx ^$" \
"id:920330,\
phase:1,\
pass,\
block,\
t:none,\
msg:'Empty User Agent Header',\
tag:'application-multi',\
Expand Down Expand Up @@ -1414,7 +1414,7 @@ SecRule REQUEST_URI_RAW|REQUEST_HEADERS|ARGS|ARGS_NAMES "@validateByteRange 9,10
SecRule &REQUEST_HEADERS:User-Agent "@eq 0" \
"id:920320,\
phase:1,\
pass,\
block,\
t:none,\
msg:'Missing User Agent Header',\
tag:'application-multi',\
Expand Down Expand Up @@ -1557,7 +1557,7 @@ SecRule REQUEST_URI_RAW|REQUEST_HEADERS|ARGS|ARGS_NAMES|REQUEST_BODY "@validateB
SecRule &REQUEST_HEADERS:Accept "@eq 0" \
"id:920300,\
phase:1,\
pass,\
block,\
t:none,\
msg:'Request Missing an Accept Header',\
tag:'application-multi',\
Expand Down
Loading