Description
WordPress Plugin AdRotate-Ad manager & AdSense Ads 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 AdRotate-Ad manager & AdSense Ads version 3.6.5 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 3.6.8 or latest
References
http://unconciousmind.blogspot.ro/2011/09/wordpress-adrotate-plugin-365-sql.html
http://www.exploit-db.com/exploits/17888/
http://packetstormsecurity.com/files/view/105311/wpadrotate-sql.txt
Related Vulnerabilities
Perl Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2012-6329)
Ruby on Rails CVE-2024-28103 Vulnerability (CVE-2024-28103)
WordPress Plugin Slider Hero with Animation, Video Background Cross-Site Request Forgery (8.2.0)
WordPress CVE-2016-5837 Vulnerability (CVE-2016-5837)
WordPress Plugin Author Periodic Report Cross-Site Scripting (1.0)