【发布时间】:2019-04-15 05:05:59
【问题描述】:
我们有以下无效的规则,我们想将此警告列入白名单(在事件查看器中),它在 URI 中包含“testinguri”。
-
SecRule REQUEST_URI "@contains testinguri\?op\=message" "id:200006,phase:1,nolog,allow,ctl:ruleEngine=DetectionOnly,msg:'Test 1'"
SecRule REQUEST_URI "@beginsWith /en-us/testinguri?op=message" "id:200007,phase:1,nolog,allow,ctl:ruleEngine=DetectionOnly,msg:'Test 2'"
SecRule REQUEST_URI "^/en-us/testinguri?op=message.*" "id:200008,phase:1,nolog,allow,ctl:ruleEngine=DetectionOnly,msg:'Test 3'"
SecRule REQUEST_URI "@contains testinguri" "id:200009,phase:1,nolog,allow,ctl:ruleEngine=DetectionOnly,msg:'Test 4'"
以上规则的目的相同,但如果任何版本的规则有效但没有运气,我们就会将它们放入。
以下是事件查看器中的警告,我们希望允许其中包含“testinguri”的 URI。它现在正在检测模式下运行。
ModSecurity:警告。运营商 GE 在 TX:inbound_anomaly_score 匹配 5。 [文件“C:\Program Files\ModSecurity IIS\owasp-modsecurity-crs/rules/RESPONSE-980-CORRELATION.conf”] [行“86”] [id "980130"] [msg "Inbound Anomaly Score Exceeded (Total Inbound Score: 5 - SQLI=0,XSS=0,RFI=0,LFI=0,RCE=5,PHPI=0,HTTP=0,SESS= 0):远程命令执行:Windows 命令注入;个人偏执等级分数:5、0、0、0"] [tag "event-correlation"] [hostname "computerName"] [uri "/en-us/testinguri?op =message&to=FULL URI..."] [unique_id "454534234234234"]
你能帮忙吗?谢谢。
【问题讨论】:
标签: mod-security web-application-firewall