SQL injections with prepared statements?

前端 未结 4 444
生来不讨喜
生来不讨喜 2020-12-10 04:40

If I remember correctly, I think Jeff has mentioned in the Stack Overflow podcast a possible weakness in SQL prepared statements. I\'m wondering what kind(s) of weakness(es)

4条回答
  •  有刺的猬
    2020-12-10 05:20

    Beyond the normal sql injection (what we might call first order) attack there are secondary levels. For example its not uncommon to have stored procedures use string concatenation to build a query which it then executes. If result of retrieved field values are included in such a concatenation then there is a danger of injection.

提交回复
热议问题