Question 100
A web form appends a visitor-supplied name directly into a database statement, allowing crafted input to change its WHERE clause. Which weakness enables the result?
Explanation
Correct Answer
Untrusted values alter SQL structure because the application fails to separate query logic from parameters.
Incorrect Answers
Randomness quality does not cause input to become executable SQL syntax.
The database query error involves application input handling, not virtualization isolation.
The demonstrated manipulation changes backend SQL selection, not client script execution.






CompTIA Security+ (SY0-701) Practice Tests