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

Commit 957b877

Browse files
authored
Merge pull request #828 from csanders-git/fixdetectxsscapture
Fix XSS requesting 'capture' action
2 parents 3843bb1 + d444d64 commit 957b877

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|REQUEST_H
4646
t:none,t:utf8toUnicode,t:urlDecodeUni,t:htmlEntityDecode,t:jsDecode,t:cssDecode,t:removeNulls,\
4747
block,\
4848
ctl:auditLogParts=+E,\
49-
capture,\
5049
tag:'application-multi',\
5150
tag:'language-multi',\
5251
tag:'platform-multi',\
@@ -57,7 +56,7 @@ SecRule REQUEST_COOKIES|!REQUEST_COOKIES:/__utm/|REQUEST_COOKIES_NAMES|REQUEST_H
5756
tag:'OWASP_TOP_10/A3',\
5857
tag:'OWASP_AppSensor/IE1',\
5958
tag:'CAPEC-242',\
60-
logdata:'Matched Data: %{TX.0} found within %{MATCHED_VAR_NAME}: %{MATCHED_VAR}',\
59+
logdata:'Matched Data: XSS data found within %{MATCHED_VAR_NAME}: %{MATCHED_VAR}',\
6160
setvar:'tx.msg=%{rule.msg}',\
6261
setvar:tx.xss_score=+%{tx.critical_anomaly_score},\
6362
setvar:tx.anomaly_score=+%{tx.critical_anomaly_score},\

0 commit comments

Comments
 (0)