cards exposed — 2009: 2 NASA sites demonstrated to be vulnerable. Hacker able to get credentials of 25 admin accounts — 2013: 71 Chinese government databases compromised in an attack on Chinese Chamber of International Commerce
information and attacking systems — Gets around firewalls and intrusion detection systems — Can gain enough privileges to act as system admin — Can exploit other clients that access the database
manipulation — End the previous query, execute a new valid query with a Union — Make the previous WHERE clause return false, so only the new query data is retrieved — Both queries must have the same structure
payment_details WHERE 1=1 SELECT id, name, description FROM products WHERE category='zzzz' AND 'a'='b' UNION SELECT 'a', 'b', credit_card FROM payment_details WHERE 1=1