client9/libinjection

False Positive for SQLi

andywgrant opened this issue · 1 comments

My ModSecurity logs are reporting a detection by libinjection that is clearly a false positive (even its matched data seems a little bizarre).

[msg "SQL Injection Attack Detected via libinjection"][data "Matched Data: novc found within ARGS:username: a!@#"]

For now just create an exception.
SecRuleUpdateTargetById <RULE ID TRIGGERED> "!ARGS:username"
That will disable the rule validation for the parameter.