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

Commit 580e33b

Browse files
committed
correction in 942190
1 parent e5a65e3 commit 580e33b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rules/REQUEST-942-APPLICATION-ATTACK-SQLI.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|ARGS_NAME
169169
# to the Regexp::Assemble output:
170170
# (?i:ASSEMBLE_OUTPUT)
171171
#
172-
SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|ARGS_NAMES|ARGS|XML:/* "@rx (?i:(?:[\"'`](?:;?\s*?(?:(?:select|union)\b\s*?[^\s]|having\b\s*?)|\s*?!\s*?[\"'`\w])|(?:c(?:onnection_id|urrent_user)|database)\s*?\([^\)]*?|u(?:nion(?:[\w(\s]*?select| select @)|ser\s*?\([^\)]*?)|s(?:chema\s*?\([^\)]*?|elect.*?\w?user\()|into[\s+]+(?:dump|out)file\s*?[\"'`]|\s*?exec(?:ute)?.*?\Wxp_cmdshell|from\W+information_schema\W|exec(?:ute)?\s+master\.|\wiif\s*?\())" \
172+
SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|ARGS_NAMES|ARGS|XML:/* "@rx (?i:(?:[\"'`](?:;?\s*?(?:having|select|union)\b\s*?[^\s]|\s*?!\s*?[\"'`\w])|(?:c(?:onnection_id|urrent_user)|database)\s*?\([^\)]*?|u(?:nion(?:[\w(\s]*?select| select @)|ser\s*?\([^\)]*?)|s(?:chema\s*?\([^\)]*?|elect.*?\w?user\()|into[\s+]+(?:dump|out)file\s*?[\"'`]|\s*?exec(?:ute)?.*?\Wxp_cmdshell|from\W+information_schema\W|exec(?:ute)?\s+master\.|\wiif\s*?\())" \
173173
"phase:2,\
174174
rev:'2',\
175175
ver:'OWASP_CRS/3.0.0',\

util/regexp-assemble/regexp-942190.data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[\"'`]\s*?!\s*?[\"'`\w]
2-
[\"'`];?\s*?having\b\s*?[^\s)
2+
[\"'`];?\s*?having\b\s*?[^\s]
33
[\"'`];?\s*?select\b\s*?[^\s]
44
[\"'`];?\s*?union\b\s*?[^\s]
55
\s*?exec.*?\Wxp_cmdshell

0 commit comments

Comments
 (0)