Description
WordPress Plugin NextGEN Smooth 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 NextGEN Smooth Gallery version 1.2 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/42156/exploit
http://www.exploit-db.com/exploits/14541/
http://packetstormsecurity.com/files/view/92366/wpnextgensg-sql.txt
Related Vulnerabilities
CubeCart Improper Input Validation Vulnerability (CVE-2013-1465)
Oracle JRE CVE-2012-0505 Vulnerability (CVE-2012-0505)
WordPress Plugin NEX-Forms-The Ultimate WordPress Form Builder Security Bypass (7.8.7)
WordPress Plugin Simple Job Board Cross-Site Scripting (2.9.4)
WordPress Plugin Advanced Access Manager Security Bypass (3.2.1)