Score:0

SQL Cookie Flagging Rule

us flag

I my scenario SQL cookie rule being triggered but the cookies do not have anything malicious in them WAF. Could anyone please let me know why this is?

I've replicated the issue with false positive (blocked valid request) by the Rule SQLi_COOKIE from AWSManagedRulesSQLiRuleSet in my environment.

WAF logs showed:
"location":"HEADER","matchedData":["ajs_user_id","=","null",";","ajs_group_id"]}]

While testing the request the following patterns were blocked:
ajs_user_id=null;
ajs_group_id=null;

curl --cookie "ajs_group_id=null;" http://example.com
<head><title>403 Forbidden</title></head>

Basically it blocks any Key "name=null;" Could anyone please suggest me if there is a better way to allow for these rules to be processed in the future? It seems like '=null;' is the flagging mechanism but that is very loose and not specific to SQL.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.