Lucene search

K
wpvulndbMoresecWPVDB-ID:578093DB-A025-4148-8C4B-EC2DF31743F7
HistoryJul 01, 2022 - 12:00 a.m.

WP All Import < 3.6.8 - Admin+ Arbitrary File Upload

2022-07-0100:00:00
moresec
wpscan.com
19
wp all import
arbitrary file upload
privilege escalation
rce
admin
security flaw

EPSS

0.001

Percentile

42.9%

The plugin accepts all zip files and automatically extracts the zip file without validating the extracted file type. Allowing high privilege users such as admin to upload an arbitrary file like PHP, leading to RCE

PoC

As an admin upload a php file containing the palyload zipped along with a valid XML file via the New Import Upload page of the plugin: https://example.com//wp-admin/admin.php?page=pmxi-admin-import When the upload finishes you’ll be able to find the random directory it was sent to by checking the links on the source code of the Managed Imports page: http://example.com/wp-admin/admin.php?page=pmxi-admin-manage The file will be located at something like: https://example.com/wp-content/uploads/wpallimport/uploads/f8ac124b335362e2faed2da06d2123d5/folder/filename.php

EPSS

0.001

Percentile

42.9%

Related for WPVDB-ID:578093DB-A025-4148-8C4B-EC2DF31743F7