the original cloud security

Cardoza WordPress Poll 34.05 SQL Injection

Cardoza WordPress Poll 34.05 SQL Injection
Posted Jan 22, 2013
Authored by Marcela Benetrix

Cardoza WordPress Poll plugin version 34.05 suffers from multiple remote SQL injection vulnerabilities.

tags | exploit, remote, vulnerability, sql injection
advisories | CVE-2013-1400, CVE-2013-1401
MD5 | d1793583186c909165a9426aa54a5059

Cardoza WordPress Poll 34.05 SQL Injection

Change Mirror Download
#############################
Exploit Title : Multiple SQL injection vulnerabilities in Cardoza Wordpress poll plugin
Author:Marcela Benetrix
home:www.girlinthemiddle.net
Date: 01/21/13
version: 34.05
software link:http://wordpress.org/extend/plugins/cardoza-wordpress-poll/

#############################
Wordpress Poll plugin description

Wordpress Poll is completely ajax powered polling system which supports both single and multiple selection of answers. It has interesting functions like statistics, user logs and the opportunity to lock the users by their ip,cookies or id.

##########################
SQL injection location

The problem is located in the file: CWPPoll.js, to be more specific viewPollResults and userlogs methods.

Although both ajax functions are used in the administration side they can be accessed by an external script and their parameter(pollid) is not sanitised

##########################
POC

/wp-admin/admin-ajax.php/?poll_id=2 or 1=1&action=view_poll_result

via post/ajax


############################
BONUS TRACK

In the same plugin I found several functions that could have catastrophic results if they are handled by an attacker.

function editAnswer(answerid, poll_id)
function deleteAnswer(answerid, poll_id)
function addAnswer(polls_id)
function deletePoll()

All of them can be acceded from an external call allowing the attacker to add,edit, delete an answer and in the worst case delete a poll. The caller is not verified.

###########################
CVE identifier

CVE-2013-1400 number has been assigned to all of the SQL injection issues
CVE-2013-1401 for those functions which can be handled externally

##########################
Vendor Notification
01/17/2013 to: the developer. He replied immediately and fixed the problem.
Because of it, a new version has been released


Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

July 2017

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    2 Files
  • 2
    Jul 2nd
    3 Files
  • 3
    Jul 3rd
    15 Files
  • 4
    Jul 4th
    4 Files
  • 5
    Jul 5th
    15 Files
  • 6
    Jul 6th
    15 Files
  • 7
    Jul 7th
    10 Files
  • 8
    Jul 8th
    2 Files
  • 9
    Jul 9th
    10 Files
  • 10
    Jul 10th
    15 Files
  • 11
    Jul 11th
    15 Files
  • 12
    Jul 12th
    19 Files
  • 13
    Jul 13th
    16 Files
  • 14
    Jul 14th
    15 Files
  • 15
    Jul 15th
    3 Files
  • 16
    Jul 16th
    2 Files
  • 17
    Jul 17th
    8 Files
  • 18
    Jul 18th
    11 Files
  • 19
    Jul 19th
    15 Files
  • 20
    Jul 20th
    15 Files
  • 21
    Jul 21st
    15 Files
  • 22
    Jul 22nd
    7 Files
  • 23
    Jul 23rd
    2 Files
  • 24
    Jul 24th
    19 Files
  • 25
    Jul 25th
    28 Files
  • 26
    Jul 26th
    2 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close