header-logo
Suggest Exploit
vendor:
Advanced Order Export For WooCommerce
by:
Bhushan B. Patil
7.8
CVSS
HIGH
Remote Command Execution
78
CWE
Product Name: Advanced Order Export For WooCommerce
Affected Version From: 1.5.4 and before
Affected Version To: 1.5.4
Patch Exists: YES
Related CWE: CVE-2018-11525
CPE: 2.3:a:wordpress:advanced_order_export_for_woocommerce
Metasploit: N/A
Platforms Tested: WiN7_x64
2018

WordPress Plugin Advanced Order Export For WooCommerce < 1.5.4 - CSV Injection

Advanced Order Export For WooCommerce plugin version 1.5.4 and before are affected by the vulnerability Remote Command Execution using CSV Injection. This allows a public user to inject commands as a part of form fields and when a user with higher privilege exports the form data in CSV opens the file on their machine, the command is executed.

Mitigation:

Upgrade to version 1.5.4 or later
Source

Exploit-DB raw data:

# Exploit Title: Wordpress Plugin Advanced Order Export For WooCommerce < 1.5.4 - CSV Injection
# Google Dork: N/A
# Date: 2018-06-24
# Exploit Author: Bhushan B. Patil
# Software Link: https://wordpress.org/plugins/woo-order-export-lite/
# Affected Version: 1.5.4 and before
# Category: Plugins and Extensions
# Tested on: WiN7_x64
# CVE: CVE-2018-11525

# 1. Application Description:
# The plugin helps you to easily export WooCommerce order data. Export any custom field assigned 
# to orders/products/coupons is easy and you can select from various formats to export the data 
# in such as CSV, XLS, XML and JSON.

# 2. Technical Description:
# Advanced Order Export For WooCommerce plugin version 1.5.4 and before are affected by the vulnerability
# Remote Command Execution using CSV Injection. This allows a public user to inject commands as a part of 
# form fields and when a user with higher privilege exports the form data in CSV opens the file on their machine,
# the command is executed.

# 3. Proof Of Concept:
 
Enter the payload @SUM(1+1)*cmd|' /C calc'!A0 in the form fields and submit.

# When high privileged user logs into the application to export form data in CSV and opens the file.
# Formula gets executed and calculator will get popped in his machine.