Exploit the possiblities

WordPress WP Ultimate Exporter 1.0 / 1.1 SQL Injection

WordPress WP Ultimate Exporter 1.0 / 1.1 SQL Injection
Posted Feb 26, 2016
Authored by Henri Salo

WordPress WP Ultimate Exporter plugin versions 1.0 and 1.1 suffers from multiple remote SQL injection vulnerabilities.

tags | exploit, remote, vulnerability, sql injection
MD5 | e0b2a7f7b9a61ae9647b10e3a4aeceea

WordPress WP Ultimate Exporter 1.0 / 1.1 SQL Injection

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

After reading bugtraq post[1] I noticed additional vulnerability from WordPress
plugin wp-ultimate-exporter[2]. Versions 1.0 and 1.1 are affected of SQL
injection vulnerability without authentication.

1: http://seclists.org/bugtraq/2016/Feb/172
2: https://wordpress.org/plugins/wp-ultimate-exporter/

Parameter: MULTIPART export_type_name ((custom) POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause

Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)

"""
POST /wp-admin/admin.php?page=wp_ultimate_exporter&step=exportposttype HTTP/1.1
Host: example.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Content-Type: multipart/form-data; boundary=---------------------------110342333716197608971909825185
Content-Length: 1452

- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="export_type_name"

post
- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="export_custompost_type"

- --Select--
- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="get_data_with_delimiter"

get_data_with_delimiter
- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="post_withdelimiter"

,
- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="othersdelimiter"


- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="postdatefrom"


- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="postdateto"


- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="postwithstatus"

All
- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="postauthor"

0
- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="export_filename"


- -----------------------------110342333716197608971909825185
Content-Disposition: form-data; name="proceed_to_exclusion"

Export
- -----------------------------110342333716197608971909825185--
"""

includes/UltimateExportHelper.php:
43 public function createCSVHeaders($exportposttype){
44 global $wpdb;
45 $Header = array();
46 $post_type = $exportposttype;
47
48 $header_query1 = "SELECT wp.* FROM $wpdb->posts wp where post_type = '$post_type'";
49 $header_query2 = "SELECT post_id, meta_key, meta_value FROM $wpdb->posts wp JOIN $wpdb->postmeta wpm ON wpm.post_id = wp.ID where wp.post_type = '$post_type' and meta_key NOT IN ('_edit_lock','_edit_last') and meta_key NOT LIKE 'field_%' and meta_key NOT L IKE '_wp_types%'";
50 $result_header_query1 = $wpdb->get_results($header_query1);

- --
Henri Salo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJWz1ooAAoJECet96ROqnV0tLIQANVToxM64sTlBwomPwE7cdi7
WNCGny3saZigdADSeDcmfxtHm9OJHoWWRXOoqRj5RcOCTeie15xg/xX35rn55CSq
MWk8RXad/mFJVCXa0eldahetQV2qN5JScg05ajxyqeTJ3PDOUztBUt0WuD9gyyQH
PiIYWqHYBWd/OIvHBELHwsoV8Oe8jNVQlyipSH/b4/ny11ilw+P/MjrltZQDUlHU
88HNGkS3A66RR9w2uOUzTAi37Gj3/1J4JeQGFwZQUOxcGaP9WhMhF+PkT4fVMKrY
qnRz4rsSrZ9GO7Ilv3DMa8qJdHC2zdFuodQIaFCD5tsntCvIAIcHgBynhptqkXAI
KjrVxmjc/HXQo9Jh0yO5Dkym+kexNJeNUOoWy2VBPFgDXdiYM6CaQJGNlm/CiuYa
9YEqrn4G9Oan5WLNxD8vsItNF3J3zZQSJ3kArLJdXrhzXfgYpwz7nCvHGZAgFBqJ
K63Sc1pkUnzcEV6XU/Hc8CSfQwlTLsjPibUJg8XxGeHwcrVA04YBQMufMfPxPfLU
PyQ1VWTagTGxwPrsMuJy/z24bvSv3fJmk705Jr0itSKfqqYtu703q6ZPyhRhEOVd
eIBLG5jBdHmoZrHHM7BIn5ojx5BJtwNk74Buj9mBh4lhj6FwyCg7/hUic6cUk6Q5
0FNGYMPPcDbIpt61okEL
=/0/D
-----END PGP SIGNATURE-----

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

Want To Donate?


Bitcoin: 18PFeCVLwpmaBuQqd5xAYZ8bZdvbyEWMmU

File Archive:

January 2018

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2018 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close