Description
SQL injection (SQLi) refers to an injection attack wherein an attacker can execute malicious SQL statements that control a web application's database server.
Remediation
Use parameterized queries when dealing with SQL queries that contain user input. Parameterized queries allow the database to understand which parts of the SQL query should be considered as user input, therefore solving SQL injection.
References
Prevent SQL injection vulnerabilities in PHP applications and fix them
Related Vulnerabilities
Joomla! 1.6/1.7/2.5 privilege escalation vulnerability
WordPress Plugin WP Athletics SQL Injection (1.1.7)
WordPress Plugin CM Pop-Up banners for WordPress SQL Injection (1.5.10)
WordPress Plugin WP Bannerize 'ajax_clickcounter.php' SQL Injection (2.8.6)
WordPress Plugin DirectoryPress-Business Directory And Classified Ad Listing SQL Injection (3.6.10)