Description
WordPress Plugin Ajax Gallery is prone to an SQL injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. WordPress Plugin Ajax Gallery version 3.0 is vulnerable; other versions may also be affected.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
http://www.securityfocus.com/bid/49233/exploit
http://www.exploit-db.com/exploits/17686/
http://packetstormsecurity.com/files/view/104190/wpajaxgallery-sql.txt
Related Vulnerabilities
WordPress Plugin UpdraftPlus WordPress Backup Cross-Site Scripting (1.16.65)
WordPress Plugin WordLift-AI powered SEO-Schema Cross-Site Scripting (3.37.1)
WordPress Plugin Rimons Twitter Widget Cross-Site Scripting (1.2.4)
WordPress Plugin Asset CleanUp:Page Speed Booster Cross-Site Scripting (1.3.6.7)