- Home
- All questions
- Question 141
CompTIA Security+ study material · question 141 of 611
A team moves all queries into stored procedures and declares SQL injection solved. Under what condition is that claim wrong?
Show the answer
Answer: B. If the procedures build dynamic SQL from their parameters
A stored procedure that concatenates strings is exactly as vulnerable as inline SQL doing the same thing.
Source: OWASP SQL Injection Prevention Cheat Sheet (OWASP) — OWASP SQL Injection Prevention Cheat Sheet › Defense Option 2