Injection attacks
Injection attacks on web applications refer to malicious attempts to inject or execute unauthorized code or commands into an application’s data. These attacks exploit vulnerabilities in the application’s input validation mechanisms, allowing attackers to insert malicious code that the application’s interpreter then executes. Injection attacks have been around for decades but are successful every day. On the day I wrote this section of the book, I looked for recent attacks and, that week, a threat group named ResumeLooters stole the personal data of over 2 million job seekers after compromising 65 legitimate job listings and retail sites using SQL injection and Cross-Site Scripting (XSS) attacks. Almost every day, the news is filled with stories like this. Once malicious users are successful, they can use this data or access for further attacks to steal financial assets or cause havoc. The most common types of injection attacks include the following...