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