The defender must be right every time.
The attacker only needs to be right once.
String query = "SELECT \* FROM accounts WHERE custID='" + request.getParameter("id") + "'";
(I'm sorry)
Failure to handle data properly and securely leads to sensitive data being exposed. The selling of this data has grown to a multi-billion dollar industry, with the effects of the breached companies and their clients being very significant.
As developers, we need to take a step back, and think about what data we're storing, how it's stored, accessed, transmitted and updated.