• Onno (VK6FLAB)
    link
    fedilink
    English
    41 month ago

    So how does that SQL statement make it into the database in the first place?

    • @[email protected]
      link
      fedilink
      English
      21 month ago

      I’d imagine that would depend on the deployment and environment. Chaining exploits is not unheard of. Maybe a lazy dev figured it’s easier to stop a devastating SQL injection by just restricting the permissions of the client connecting. Or maybe you have an intern with malicious intentions to destroy your company, but you only gave them read access to the database so you assume they can’t drop tables.

      Basically taking the Swiss Cheese Model approach, there may be security gaps in the front line but as long as subsequent lines of defense don’t also have big holes, the risk is minimized.