-
Type:
Enhancement
-
Status: Closed
-
Priority:
Critical
-
Resolution: Unresolved
-
Component/s: None
-
Labels:None
-
Module:BenAdmin - Security
-
Reported by:Harbinger
-
Item State:Development - Ready for Local Testing
-
Issue Importance:Must Have
When we add input on notes category like asdf' or '1'='1 , category is getting added successfully.
We should block use of OR with '. it should show sql injection character message.
Affected files:
1. trunk\WORKTERRAweb\Web\SharedFunctionWebTier\SharedFunctionWebTier\Modules\CustomModelBinder.cs
2. trunk\WORKTERRAweb\Web\Web Projects\Web.config
We have added new tag in config which will decide if we need to validate or condition or not. This tag is added to give flexibility of use of OR in input.
<add key="ValidateOROperatorForSQLInjection" value="true" />