Lucene search

K
wpvulndbEricfrank900528WPVDB-ID:AD99B9BA-5F24-4682-A787-00F0E8E32603
HistoryApr 11, 2022 - 12:00 a.m.

Import WP < 2.4.6 - Admin+ Arbitrary File Upload to RCE

2022-04-1100:00:00
ericfrank900528
wpscan.com
10
wordpress
plugin
arbitrary file upload
rce
security vulnerability

EPSS

0.001

Percentile

42.9%

The plugin does not validate the imported file in some cases, allowing high privilege users such as admin to upload arbitrary files (such as PHP), leading to RCE

PoC

Import a PHP file via an URL [Tools > Import WP > Add Importer (put any name, and post template) > Create Importer > Remote File (select any file type)], eg: https://example.com/info.php (content of info.php:) Intercept the response to get the path of the file (via the file[src], eg: 06-2-info.php) and append that https://WP/wp-content/uploads//, eg: https://WP/wp-content/uploads/2022/04/06-2-info.php

EPSS

0.001

Percentile

42.9%

Related for WPVDB-ID:AD99B9BA-5F24-4682-A787-00F0E8E32603