-
Notifications
You must be signed in to change notification settings - Fork 727
Rule 921120: False positive #1615
Comments
Yes, I think this issue could be solved by adding a But, as far as I know empty headers are valid too, but they are ignored by the browser. So we potentially add an evasion here. That's why I would only add my suggested regex to the location header and not all of the headers in this rule. Other opinions? |
No, I can not see where an empty contnt-type, content-length, set-cookie or location header can be considered standard behaviour. Sure, the protocol does allow it, but that does not mean that it happens in real life. |
So I add my suggested regex to all headers? |
I think that should work, yes. |
Ok, I'll do that. Thanks for your fast feedback! |
Decision during the CRS project chat on March 2, 2020: @franbuehler will solve this. |
Type of Issue
False positive.
Description
The regex doesn't check if there is a payload after fairly common keywords.
We had a false positive on the pattern
...\r\n\r\nlocation:\r\n...
.This specific case could have avoided if the regex was followed by something like
\s+\w+
.What do you think?
Confirmation
[X] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.
The text was updated successfully, but these errors were encountered: