Actions
Optimization #2400
closed
JM
Raise error when content length is longer than depth value
Optimization #2400:
Raise error when content length is longer than depth value
Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Effort:
Difficulty:
Label:
Description
Can we receive an error when the length of a content is longer than the subsequent depth value, similar to how the "within" keyword behaves?
Example, which won't fire, but does not show error:
content:"Microsoft BITS/"; http_user_agent; depth:5;
When using the within keyword when the content length is longer than the value of "within" we receive this error:
<Error> - [ERRCODE: SC_ERR_WITHIN_INVALID(106)] - within argument "5" is less than the content length "15" which is invalid, since this will never match. Invalidating signature
Files
Actions