Lucene search

K
wpexploitGarth MortensenWPEX-ID:32E34CFF-D6CF-4E00-BB5D-1E2E6595F1C1
HistoryOct 29, 2015 - 12:00 a.m.

WordPress File Upload <= 3.4.0 - Unauthenticated Malicious File Upload

2015-10-2900:00:00
Garth Mortensen
8

0.001 Low

EPSS

Percentile

31.9%

The WordPress plugin wp-file-upload does not adequately check the filetype before allowing it to be uploaded. It also uploaded files with execute permissions, allowing malicious payloads to be uploaded.

1. Install wp-file-upload on a WordPress site and activate it.
2. Create an upload form on a page.
3. Create a file named payload.php.....jpg with the contents
<?php
echo "You got pwnd";

4. Use the form you created to upload this payload
5. Navigate to /wp-content/uploads/payload.php.....jpg and see "You got pwnd" printed.

0.001 Low

EPSS

Percentile

31.9%

Related for WPEX-ID:32E34CFF-D6CF-4E00-BB5D-1E2E6595F1C1