plugin wp-ultimate-exporter[2]. Versions 1.0 and 1.1 are affected of SQL
injection vulnerability without authentication.
1: http://seclists.org/bugtraq/
2: https://wordpress.org/plugins/
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_
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+
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: close
Content-Type: multipart/form-data; boundary=---------------------
Content-Length: 1452
- -----------------------------
Content-Disposition: form-data; name="export_type_name"
post
- -----------------------------
Content-Disposition: form-data; name="export_custompost_type"
- --Select--
- -----------------------------
Content-Disposition: form-data; name="get_data_with_delimiter"
get_data_with_delimiter
- -----------------------------
Content-Disposition: form-data; name="post_withdelimiter"
,
- -----------------------------
Content-Disposition: form-data; name="othersdelimiter"
- -----------------------------
Content-Disposition: form-data; name="postdatefrom"
- -----------------------------
Content-Disposition: form-data; name="postdateto"
- -----------------------------
Content-Disposition: form-data; name="postwithstatus"
All
- -----------------------------
Content-Disposition: form-data; name="postauthor"
0
- -----------------------------
Content-Disposition: form-data; name="export_filename"
- -----------------------------
Content-Disposition: form-data; name="proceed_to_exclusion"
Export
- -----------------------------
"""
includes/UltimateExportHelper.
43 public function createCSVHeaders($
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_
- --
Henri Salo
Komentarų nėra:
Rašyti komentarą