kys17
This commit is contained in:
@@ -15,6 +15,11 @@ SecRule ARGS "(?i)(['\"]|--|#|/\*|\*/)" \
|
|||||||
SecRule ARGS "(?i)\b(select|insert|update|delete|drop|union|grant|alter|truncate)\b" \
|
SecRule ARGS "(?i)\b(select|insert|update|delete|drop|union|grant|alter|truncate)\b" \
|
||||||
"id:950002,phase:2,deny,status:403,msg:'SQL Injection: Keyword',log,t:urlDecode,t:lowercase"
|
"id:950002,phase:2,deny,status:403,msg:'SQL Injection: Keyword',log,t:urlDecode,t:lowercase"
|
||||||
|
|
||||||
|
# sql3 (teste)
|
||||||
|
SecRule ARGS|ARGS_NAMES|REQUEST_COOKIES|REQUEST_COOKIES_NAMES|REQUEST_HEADERS|XML:/*|JSON:/* \
|
||||||
|
"(?i)(select\s|insert\s|update\s|delete\s|drop\s|union\s|--|#|/\*|\*/|'|\"|%27|%22|<script>|<|>|%3C|%3E|exec\s|system\s|/etc/passwd|\.\./|%00)" \
|
||||||
|
"id:950100,phase:2,deny,status:403,msg:'SQL',log,t:urlDecode,t:lowercase"
|
||||||
|
|
||||||
# xss / html injection
|
# xss / html injection
|
||||||
SecRule REQUEST_URI|ARGS "(<.*>)|(%3C.*%3E)" \
|
SecRule REQUEST_URI|ARGS "(<.*>)|(%3C.*%3E)" \
|
||||||
"id:950003,phase:1,deny,status:403,msg:'XSS/HTML INJECTION DETECTED!!!',log"
|
"id:950003,phase:1,deny,status:403,msg:'XSS/HTML INJECTION DETECTED!!!',log"
|
||||||
|
|||||||
Reference in New Issue
Block a user