Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.

Commit 9c8b72e

Browse files
authored
921110 add track and path and 921150 lowercase X
rule 921110 added track and path rule 921150 lowercase x
1 parent 755a753 commit 9c8b72e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rules/REQUEST-921-PROTOCOL-ATTACK.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ SecRule REQUEST_HEADERS:'/(?:Content-Length|Transfer-Encoding)/' "@rx ," \
6767
# [ References ]
6868
# http://projects.webappsec.org/HTTP-Request-Smuggling
6969
#
70-
SecRule ARGS_NAMES|ARGS|XML:/* "@rx (?:\n|\r)+(?:get|post|head|options|connect|put|delete|trace|propfind|propatch|mkcol|copy|move|lock|unlock)\s+" \
70+
SecRule ARGS_NAMES|ARGS|XML:/* "@rx (?:\n|\r)+(?:get|post|head|options|connect|put|delete|trace|track|patch|propfind|propatch|mkcol|copy|move|lock|unlock)\s+" \
7171
"id:921110,\
7272
phase:2,\
7373
block,\
@@ -205,7 +205,7 @@ SecRule ARGS_NAMES "@rx [\n\r]" \
205205
setvar:'tx.%{rule.id}-OWASP_CRS/WEB_ATTACK/HEADER_INJECTION-%{matched_var_name}=%{tx.0}'"
206206

207207

208-
SecRule ARGS_NAMES|ARGS|XML:/* "@rx (?:\n|\r)+(?:\s+|location|refresh|(?:set-)?cookie|(?:X-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\s*:" \
208+
SecRule ARGS_NAMES|ARGS|XML:/* "@rx (?:\n|\r)+(?:\s+|location|refresh|(?:set-)?cookie|(?:x-)?(?:forwarded-(?:for|host|server)|host|via|remote-ip|remote-addr|originating-IP))\s*:" \
209209
"id:921160,\
210210
phase:2,\
211211
block,\

0 commit comments

Comments
 (0)