Lucene search
K

Cardoza WordPress Poll 34.05 SQL Injection Vulnerability

🗓️ 05 Nov 2013 00:00:00Reported by Marcela BenetrixType 
zdt
 zdt
🔗 0day.today👁 35 Views

Cardoza WordPress Poll 34.05 SQL Injection Vulnerability in Ajax Function

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2013-1400
13 Feb 202020:19
cve
CVE
CVE-2013-1401
13 Feb 202020:48
cve
Cvelist
CVE-2013-1400
13 Feb 202020:19
cvelist
Cvelist
CVE-2013-1401
13 Feb 202020:48
cvelist
EUVD
EUVD-2013-1438
7 Oct 202500:30
euvd
EUVD
EUVD-2013-1439
7 Oct 202500:30
euvd
NVD
CVE-2013-1400
13 Feb 202021:15
nvd
NVD
CVE-2013-1401
13 Feb 202021:15
nvd
Packet Storm
Cardoza WordPress Poll 34.05 SQL Injection
22 Jan 201300:00
packetstorm
Patchstack
WordPress Cardoza Poll Plugin <= 34.05 - Cross Site Request Forgery
15 May 201500:00
patchstack
Rows per page
#############################
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

#  0day.today [2018-04-04]  #

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