3 ms·
SQL injection attacks still happen, a LOT. Making sure your query only executes a single statement is not enough to prevent sql injection (depending on how you
by hobs 7y ago
SQL injection attacks still happen, a LOT.
Making sure your query only executes a single statement is not enough to prevent sql injection (depending on how you concat the query) - you just have to use the provided context to get/set data you need to escalate your permissions (eg if its SELECT stuff FROM table, you might be able to inject it such that your query replaces stuff and then you can select whatever the querying user has access to.)
2019:
For its "State of the Internet" report, Akamai analyzed data gathered from users of its Web application firewall technology between November 2017 and March 2019. The exercise shows that SQL injection (SQLi) now represents nearly two-thirds (65.1%) of all Web application attacks. That's up sharply from the 44% of Web application layer attacks that SQLi represented just two years ago.
- zAy0LfpBZLC8mAC 7y ago> The exercise shows that SQL injection (SQLi) now represents nearly two-thirds (65.1%) of all Web application attacks. Are you sure that you don't actually mean "weird strings sent to web applications" when you write "web application attacks"? Sending a weird string to web applications is not an attack in any particularly relevant sense unless there is an actual vulnerability--other than when akamai wants to sell you snake-oil against all the danger of weird strings.