[Owasp-modsecurity-core-rule-set] Remove Cookie inspection for SQL injection rules
owasp-crs at junix.systems
Thu Jan 14 14:45:35 UTC 2016
This list seems to be quite low volume, so if questions like the one
below are inappropriate then please let me know.
I’ve identified a few false positives for a web form on one of our
sites. The method is a POST and a sample of the cookie as follows
I’ve been trying to put together an exception for cookies with these
names but can’t get the syntax right. Can anyone help?
The following seems to parse but I’ve no idea if it’s working or not.
Specifically I doubt that chain will extend to all the following
SecRule REQUEST_URI “(?i)/+nmsruntime” \
SecRuleUpdateTargetById 981317 “!REQUEST_COOKIES:/^VarQuestion_[0-9]+/”
SecRuleUpdateTargetById 981257 “!REQUEST_COOKIES:/^VarQuestion_[0-9]+/”
SecRuleUpdateTargetById 981245 “!REQUEST_COOKIES:/^VarQuestion_[0
And using the Anomaly scoring method I couldn’t work out how to update
the REQUEST_COOKIE target to exclude these cookies, and it doesn’t look
like I can use a regex to capture VarQuestion_[0-9]+.
More information about the Owasp-modsecurity-core-rule-set