In-depth lesson · Blind and time-based SQL injection
Typical fixes
Every point the Blind and time-based SQL injection reports back under this heading, best-backed first, each with the reports it is seen in.
-
Use parameterised queries or bound parameters instead of concatenating input when constructing queries.
Seen in 19 reports
-
Sanitise GraphQL parameters in the same way as ordinary input fields.
Seen in 1 report
-
Require authentication on test API services and sanitise their input.
Seen in 1 report
-
Disable database command execution features such as xp_cmdshell.
Seen in 1 report
-
Sanitise and parameterise caller-supplied values in content provider methods.
Seen in 1 report
-
Fix the escaper so it does not re-escape its own output.
Seen in 1 report
-
Resolve request precedence so one input source cannot override another.
Seen in 1 report
-
Escape or avoid passing query-derived values into shell commands.
Seen in 1 report
-
$100 Critical
-
-
Require authentication on the preview action and parameterise the order clause.
Seen in 1 report
-
$4,500 High
-