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

Commit b0f6336

Browse files
authored
Merge pull request #1515 from fgsch/fgsch/issue_1514
Drop t:lowercase from 941350
2 parents 08fa5c2 + 44835c3 commit b0f6336

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

rules/REQUEST-941-APPLICATION-ATTACK-XSS.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|ARGS_NAME
634634
phase:2,\
635635
block,\
636636
capture,\
637-
t:none,t:urlDecodeUni,t:lowercase,t:urlDecode,t:htmlEntityDecode,t:jsDecode,\
637+
t:none,t:urlDecodeUni,t:urlDecode,t:htmlEntityDecode,t:jsDecode,\
638638
msg:'UTF-7 Encoding IE XSS - Attack Detected.',\
639639
logdata:'Matched Data: %{TX.0} found within %{MATCHED_VAR_NAME}: %{MATCHED_VAR}',\
640640
tag:'application-multi',\
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
meta:
3+
author: fgsch
4+
enabled: true
5+
name: 941350.yaml
6+
description: Test rule 941350
7+
tests:
8+
-
9+
test_title: 941350-1
10+
desc: GH issue #1514
11+
stages:
12+
-
13+
stage:
14+
input:
15+
dest_addr: 127.0.0.1
16+
method: GET
17+
port: 80
18+
uri: /xx?id=%25252bADw-script%25252bADw-
19+
headers:
20+
Accept: "*/*"
21+
Host: localhost
22+
User-Agent: ModSecurity CRS 3 Tests
23+
output:
24+
log_contains: id "941350"

0 commit comments

Comments
 (0)