Lucene search
K

WordPress Plugin WP-Predict 1.0 - Blind SQL Injection

🗓️ 10 Jul 2012 00:00:00Reported by Chris KellumType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 21 Views

WordPress Plugin WP-Predict 1.0 - Blind SQL Injection, PredictId parameter in post request vulnerable to blind SQL injection, Voting bypass vulnerability in WP-Predict plugi

Code
# Exploit Title: WordPress WP-Predict v1.0 Blind SQL Injection
# Date: 7/9/12
# Exploit Author: Chris Kellum
# Vendor Homepage: http://www.pootlepress.co.uk/
# Software Link: http://downloads.wordpress.org/plugin/wp-predict.zip
# Version: 1.0



=====================
Vulnerability Details
=====================

PredictId parameter in post request is vulnerable to blind SQL injection.

===============
Testing Details
===============

When attempting follow-up submissions, the plugin states that you've already voted. This can easily be circumvented by using your browser's back button.

=================
Injection Example
=================

Using Burp Suite or other proxy, intercept the post request when submitting your answer and append and 1=1 to the predictId parameter before forwarding:

predictSelection=1&predictId=1 and 1=1&postAction=submitVote&submitVote.x=70&submitVote.y=26

In the example above, the statement evaluates to true and the vote count increases by 1.

Sending a new request with "predictId=1 and 1=0" will not increase the vote count.

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