Description
WordPress Plugin oQey 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. Successful exploitation requires that "magic_quotes" directive is set to "Off". WordPress Plugin oQey Gallery version 0.4.8 is vulnerable; prior versions may also be affected.
Remediation
Update to the latest version
References
http://www.securityfocus.com/bid/49451/exploit
http://www.exploit-db.com/exploits/17779/
http://packetstormsecurity.com/files/view/104792/wpoqey048-sql.txt
Related Vulnerabilities
WordPress Plugin Ajax Calendar 'example.php' Cross-Site Scripting (1.0)
WordPress Plugin Wordfence Security-Firewall & Malware Scan Cross-Site Scripting (6.0.21)
Oracle Application Server Credentials Management Errors Vulnerability (CVE-2004-1366)
MySQL CVE-2018-3200 Vulnerability (CVE-2018-3200)
WordPress Plugin E-Search Multiple Cross-Site Scripting Vulnerabilities (1.0)